superkojiman / onetwopunch

Use unicornscan to quickly scan all open ports, and then pass the open ports to nmap for detailed scans.
MIT License
631 stars 134 forks source link

Scanning HACKTHEBOX one2punch seems to hang #5

Open wifiuk opened 6 years ago

wifiuk commented 6 years ago

It seemed to scan fine when i was using it on the OSCP labs, but when i try to scan it on the hack the box labs it jut seems to hang.

[+] Protocol : tcp [+] Interface: tun0 [+] Nmap opts: -Sc -Sv -oA test [+] Targets : 10.10.10.74.txt [+] Scanning 10.10.10.74 for tcp ports... [+] Obtaining all open TCP ports using unicornscan... [+] unicornscan -i tun0 -mT 10.10.10.74:a -l /root/.onetwopunch/udir/10.10.10.74-tcp.txt

This is the error i get and it will just sit there .. Send exiting main didnt connect, exiting: system error Interrupted system call

halfluke commented 6 years ago

Recently noticed the same and really not sure why. Also, I recently attempted (and failed) the oscp exam and I had the same issue as in HTB. OSCP labs were fine instead. VPN settings? I got the issue with and without the interface specified

superkojiman commented 6 years ago

Hello. Yes it seems to be the case for HTB. Problem may be with unicornscan, because you can use nmap to scan all the ports on a single machine.

superkojiman ᕙ(⇀‸↼‶)ᕗ

On Mon, Aug 27, 2018 at 7:37 PM halfluke notifications@github.com wrote:

Recently noticed the same and really not sure why. Also, I recently attempted (and failed) the oscp exam and I had the same issue as in HTB. OSCP labs were fine instead. VPN settings? I got the issue with and without the interface specified

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/superkojiman/onetwopunch/issues/5#issuecomment-416402765, or mute the thread https://github.com/notifications/unsubscribe-auth/AG94b08GpjMl-SsJA_F-O5MNZ43OGGQnks5uVIKmgaJpZM4Sa9pP .

Crypto-Cat commented 5 years ago

OneTwoPunch and UnicornScan don't work with OSCP labs either. Maybe these tools are just not VPN compatible (which is weird because VPN-connected scanning is a key use case for such tools).