Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Jan 25, 2016 · 5 comments
Open

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

GoogleCodeExporter opened this issue Jan 25, 2016 · 5 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 27 Jan 2011 at 5:23

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 27 Jan 2011 at 5:30

@GoogleCodeExporter
Copy link
Author

Uploading strace output.
strace.out = 1 connection
strace.out100 = 100 connections

Original comment by [email protected] on 27 Jan 2011 at 5:36

Attachments:

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 24 Nov 2011 at 2:26

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 24 Nov 2013 at 3:40

@GoogleCodeExporter
Copy link
Author

There is no fix?

Original comment by [email protected] on 17 Jul 2015 at 9:15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant