Git Product home page Git Product logo

reddit_xss's People

Contributors

cheetz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

reddit_xss's Issues

Index Out of Range Error when running

Hello! Running this tool seems to produce an error with indexes out of range - I don't think this is my issue but I've been wrong before - this is the code as generated by a git clone.

[] Reddit XSS scrape in progress
[
] Press CTRL-C to Stop. Output will be saved to output_xss.txt
Traceback (most recent call last):
File "./reddit_xss.py", line 44, in
app.run(url)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 36, in regex
self.run(next_string)
File "./reddit_xss.py", line 16, in run
self.regex(resolve_response)
File "./reddit_xss.py", line 34, in regex
next_string = "http://www.reddit.com/r/xss/?count="+link[0][0]+"&after="+link[0][1]
IndexError: list index out of range

Filter -> Bypass

Hi Peter,

First of all, your books are just awesome!
I got an idea in order to improve this script, I would like to get your feedback on it. If we could somehow have the reddit users filters that have been bypassed by theirs evasion methods, we could simply using some regex directly get a working bypass method.
I explain, let's say that redit_xss.py takes one argument which is the filtered payload like:
reddit_xss.py &gtscript&ltalert(1)&gtscript&lt (it is just a non-accurate example)
By using a simple grep on the output_xss with some regex operations to ignored the payload used in the arg[1] we might able to find an occurence of the same filter. Therefore, if the reddit user posted his bypass alongside with the filter, for us it would be game over.
XSS evasion made trivial thanks to crowd-sourcing. :)

Sorry if I haven't been very clear, english is not my native tongue.

Best regards,
Alexandre

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.