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

Python error? #6

Closed
peterstavrou opened this issue Nov 4, 2017 · 4 comments
Closed

Python error? #6

peterstavrou opened this issue Nov 4, 2017 · 4 comments

Comments

@peterstavrou
Copy link

Amazing tool!
Any idea why this is happening?

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functionsrule.endpoint
File "/root/trape/core/victim.py", line 87, in redirectVictim
html = victim_inject_code(opener.open(url).read(), 'vscript')
File "/usr/lib/python2.7/urllib2.py", line 421, in open
protocol = req.get_type()
File "/usr/lib/python2.7/urllib2.py", line 283, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: twitter.com

@almapro
Copy link

almapro commented Nov 4, 2017

Are you typing twitter.com instead of https://twitter.com/?

@almapro
Copy link

almapro commented Nov 4, 2017

I've already fixed that. I'll open a pull request

@peterstavrou
Copy link
Author

Thanks! working now.

@jofpin
Copy link
Owner

jofpin commented Nov 5, 2017

We value collaboration very much and we are glad that you work, we will write a commit now.

@jofpin jofpin closed this as completed Nov 5, 2017
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

3 participants