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

ValueError: I/O operation on closed file #19

Closed
s0md3v opened this issue Mar 5, 2018 · 6 comments
Closed

ValueError: I/O operation on closed file #19

s0md3v opened this issue Mar 5, 2018 · 6 comments

Comments

@s0md3v
Copy link
Owner

s0md3v commented Mar 5, 2018

There's a weird error on line 718

[?] Execute project HULK for blind XSS Detection? [Y/n] Traceback (most recent call last):
  File "xsstrike", line 780, in <module>
    input() #This is the true start of the program
  File "xsstrike", line 768, in input
    initiator(url, GET, POST)
  File "xsstrike", line 718, in initiator
    choice = raw_input('%s Execute project HULK for blind XSS Detection? [Y/n] ' % que).lower()
ValueError: I/O operation on closed file

I have no idea how to solve this, also the value of payload on line 721 and 722 is different.
Anyone who would like to help? Comment here or start a pull request.
Thanks in advance.

@kkadosh
Copy link
Contributor

kkadosh commented Mar 9, 2018

Hello, I would like to help you for this issue.
Can you give me the steps to reproduce this behavior please?

@s0md3v
Copy link
Owner Author

s0md3v commented Mar 9, 2018

@kkadosh Can you mail me at s0md3v@gmail.com? Thanks.

@hugolgst
Copy link

I have the same final error:

File "xsstrike", line 783, in <module>
    input() #This is the true start of the program
  File "xsstrike", line 771, in input
    initiator(url, GET, POST)
  File "xsstrike", line 727, in initiator
    next = raw_input('%s Press enter to execute next payload' % que)
ValueError: I/O operation on closed file

@Biprodeep
Copy link

Hi, whenever you post a bug related issue - always mention the steps to reproduce it. So, waiting for you to do it - will have a check then.

@NovaCygni
Copy link

NovaCygni commented Apr 5, 2018

 _stdin_encoding = sys.stdin.encoding or 'utf-8'

def unicode_input(prompt):
    return raw_input(prompt).decode(_stdin_encoding) 

Something similar might work for you as if I remember right this comes from some form of encoding error...

@KalyanireddyGopireddy
Copy link

Even i am facing the same error

@s0md3v s0md3v closed this as completed in 999bb68 Apr 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants