micalifi / r-u-dead-yet

Automatically exported from code.google.com/p/r-u-dead-yet
0 stars 0 forks source link

error: (32, 'Broken pipe') #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attempted to run the program after initially downloading.
2. Corrected initial issue, worked fine one time and now am receiving another 
error.
3. Run again after the first working run time.

What is the expected output? What do you see instead?
Expected it to run, saw this:

./r-u-dead-yet-v2.2.py
  File "./r-u-dead-yet-v2.2.py", line 31
    class Parser():
                 ^
SyntaxError: invalid syntax

What version of the product are you using? On what operating system?
2.2 on centos 5

Please provide any additional information below.
I updated it to be the following and it now runs partially. New speedbump though
class Parser: 
Testing with 1 connection for the sake of length: 

/r-u-dead-yet-v2.2.py
[!] Using configuration file
[!] Attacking: http://www.****.***
[!] With parameter: login
Process Client-1:
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/multiprocessing/process.py", line 237, in _bootstrap
    self.run()
  File "./r-u-dead-yet-v2.2.py", line 179, in run
    c.send("A")
  File "./r-u-dead-yet-v2.2.py", line 163, in send
    self.s.send(data)
error: (32, 'Broken pipe')

What version of Python should this be using? I can't get around this error no 
matter what I do. Tried restarting bind, flushing iptables, etc. 

Also, for those running on low mem servers (VPS) 
Lower the # max connections if you get memory errors.

Original issue reported on code.google.com by ma77o23...@gmail.com on 27 Jan 2011 at 5:23

GoogleCodeExporter commented 9 years ago
I've updated and set the script to run in a python 2.6 env, this resolves the 
class define error ( not like that was a big deal though ). Still receiving the 
same Broken pipe errors.

Original comment by ma77o23...@gmail.com on 27 Jan 2011 at 5:30

GoogleCodeExporter commented 9 years ago
Uploading strace output.
strace.out = 1 connection
strace.out100 = 100 connections

Original comment by ma77o23...@gmail.com on 27 Jan 2011 at 5:36

Attachments:

GoogleCodeExporter commented 9 years ago
Are you certain a TCP connection can actually be opened to the target?
Can you try something like Netcat just to see if there is a listening socket on 
the other side?

Original comment by ravivr@gmail.com on 24 Nov 2011 at 2:26

GoogleCodeExporter commented 9 years ago
I have the same problem. I get :

Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "./rudy.py", line 179, in run
    c.send("A")
  File "./rudy.py", line 163, in send
    self.s.send(data)
error: [Errno 32] Broken pipe

Original comment by NMilc...@gmail.com on 24 Nov 2013 at 3:40

GoogleCodeExporter commented 9 years ago
There is no fix?

Original comment by Howto...@gmail.com on 17 Jul 2015 at 9:15