thewhiteh4t / FinalRecon

All In One Web Recon
https://www.kali.org/tools/finalrecon/
MIT License
2.24k stars 424 forks source link

threading error #30

Closed r0bag closed 2 years ago

r0bag commented 3 years ago

Hi,

upon running the program I receive the following error: Traceback (most recent call last): File "finalrecon.py", line 272, in full_recon() File "finalrecon.py", line 213, in full_recon ps(ip, output, data) File "/opt/FinalRecon/modules/portscan.py", line 23, in ps t.start() File "/usr/lib/python3.7/threading.py", line 852, in start _start_new_thread(self._bootstrap, ()) RuntimeError: can't start new thread kali@kali:/opt/FinalRecon# python3 --version Python 3.7.5

Can you advise on this? Thanks.

thewhiteh4t commented 3 years ago

@r0bag which distro? did portscan work before this? or this is the issue on first run itself? please share output of ulimit -n

r0bag commented 3 years ago

kali@kali:~# uname -a Linux kali 5.7.0-kali1-686-pae #1 SMP Debian 5.7.6-1kali2 (2020-07-01) i686 GNU/Linux kali@kali:~# ulimit -n 1024

and it fails exactly at this step on the first run:

[!] Starting Port Scan...

[+] Testing Top 1000 Ports...

[+] 22 ssh [+] 80 http Traceback (most recent call last): File "finalrecon.py", line 272, in full_recon() File "finalrecon.py", line 213, in full_recon ps(ip, output, data) File "/opt/FinalRecon/modules/portscan.py", line 23, in ps t.start() File "/usr/lib/python3.7/threading.py", line 852, in start _start_new_thread(self._bootstrap, ()) RuntimeError: can't start new thread

thewhiteh4t commented 3 years ago

@r0bag please try changing the ulimit value to 2048 using the command ulimit -n 2048 and try running finalrecon after this

r0bag commented 3 years ago

Thanks, now it works!