faizann24 / XssPy

XssPy - Web Application XSS Scanner
http://www.fsecurify.com
MIT License
835 stars 230 forks source link

br.links() returning <generator object __call__ at 0x12f1500> #3

Closed ffaggiani closed 8 years ago

ffaggiani commented 8 years ago

Hi, my problem is that the function br.links() is returning : "generator object call at 0x12f1500" but if print br.response().read() i can see html code well formed with links inside.

I have tried to build a list from br.links() but its not working...

Any help?

Thanks.

Fab

faizann24 commented 8 years ago

Try doing something like this. Br.links() is returning a tuple if used in a loop.

for i in br.links(): print i

You'll have tuples instead of a list. You can parse it and make it a list from it.

fsecurify

ffaggiani commented 8 years ago

OK, done. Now i can see the links.

Thanks!