threading error
r0bag opened this issue · 4 comments
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.
@r0bag
which distro?
did portscan work before this? or this is the issue on first run itself?
please share output of ulimit -n
kali@kali:# uname -a# ulimit -n
Linux kali 5.7.0-kali1-686-pae #1 SMP Debian 5.7.6-1kali2 (2020-07-01) i686 GNU/Linux
kali@kali:
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
@r0bag please try changing the ulimit value to 2048
using the command ulimit -n 2048
and try running finalrecon after this
Thanks, now it works!