Closed tokyoneon closed 6 years ago
Also, I tried messaging @x90skysn3k and @jrobles-r7 on Twitter regarding the article I'm working on (unrelated to this Git issue).
Actually, it's happening with normal commands as well.
> ./brutespray.py --file /root/Desktop/brutespray.gnmap --username user --service ssh
Created by: Shane Young/@x90skysn3k && Jacob Robles/@shellfail
Starting to brute, please make sure to use the right amount of threads(-t) and parallel hosts(-T)...
Output will be written to the folder: ./brutespray-output/ \
Brute-Forcing...
Process Process-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "./brutespray.py", line 252, in brute
p = subprocess.Popen(['medusa', '-H', fname, uarg, userlist, parg, passlist, '-M', service, '-t', args.threads, '-n', port, '-T', args.hosts, cont, aarg, auth], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, bufsize=-1)
File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
TypeError: execv() arg 2 must contain only strings
Wish we could get to the bottom of the inconsistencies I've been experiencing. It's pretty frustrating. Are you not able to replicate?
I think the issue stems from a change @x90skysn3k made during this commit, because I downloaded the previous verison and brutespray is working again.
I'm experiencing some strange line wrapping issues while using interactive mode (with an unmodified
brutespray.py
):Gnmap:
Error: