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

print "Json:",demjson.encode({ systaxError #1

Open
cutipu opened this issue Jun 25, 2019 · 5 comments
Open

print "Json:",demjson.encode({ systaxError #1

cutipu opened this issue Jun 25, 2019 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@cutipu
Copy link

cutipu commented Jun 25, 2019

print "Json:",demjson.encode({ systaxError
error

@LevyHsu LevyHsu self-assigned this Jun 25, 2019
@LevyHsu
Copy link
Owner

LevyHsu commented Jun 25, 2019

@cutipu Please attach you json request

@cutipu
Copy link
Author

cutipu commented Jun 25, 2019

File "/usr/lib/python2.7/SocketServer.py", line 417, in init
self.server_bind()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/usr/lib/python2.7/SocketServer.py", line 431, in server_bind
self.socket.bind(self.server_address)
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 99] Cannot assign requested address

@LevyHsu
Copy link
Owner

LevyHsu commented Jun 25, 2019

A Json request should look like this:

attackinfo={
"T": 8,
"charset": "utf-8",
"is_protected_by_cf": false,
"keywords": "welcome",
"path": "/index.php",
"peerCount": 300,
"threadCount": 10000000,
"url": "http://www.sample.com"
}

@cutipu
Copy link
Author

cutipu commented Jun 25, 2019

File "attack.py", line 37, in
app.run(host='0.0.0.0',port=80)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 944, in run
run_simple(host, port, self, **options)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 1009, in run_simple
inner()
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 962, in inner
fd=fd,
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 805, in make_server
host, port, app, request_handler, passthrough_errors, ssl_context, fd=fd
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 698, in init
HTTPServer.init(self, server_address, handler)
File "/usr/lib/python2.7/SocketServer.py", line 417, in init
self.server_bind()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind

@LevyHsu LevyHsu added question Further information is requested invalid This doesn't seem right labels Jun 25, 2019
@LevyHsu
Copy link
Owner

LevyHsu commented Jun 25, 2019

@cutipu what is your Json request on API tester?

@LevyHsu LevyHsu closed this as completed Jun 26, 2019
@LevyHsu LevyHsu removed the question Further information is requested label Jun 26, 2019
@LevyHsu LevyHsu reopened this Nov 11, 2019
@LevyHsu LevyHsu added question Further information is requested and removed invalid This doesn't seem right labels Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants