kahunalu / pwnbin Goto Github PK
View Code? Open in Web Editor NEWPython Pastebin Webcrawler that returns list of public pastebins containing keywords
Python Pastebin Webcrawler that returns list of public pastebins containing keywords
Crawling http://pastebin.com Press ctrl+c to save file to log.txt
Traceback (most recent call last):
File "C:\Users\zied_\Desktop\pwnbin-master\pwnbin.py", line 27, in main
root_html = BeautifulSoup(fetch_page(root_url), 'html.parser')
File "C:\Users\zied_\Desktop\pwnbin-master\pwnbin.py", line 131, in fetch_page
response = urllib.request.urlopen(page)
AttributeError: module 'urllib' has no attribute 'request'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\zied_\Desktop\pwnbin-master\pwnbin.py", line 187, in
main(sys.argv[1:])
File "C:\Users\zied_\Desktop\pwnbin-master\pwnbin.py", line 77, in main
except urllib.error.HTTPError as err:
AttributeError: module 'urllib' has no attribute 'error'
@kahunalu Any thoughts on rewriting the script to support the new Pastebin API? I'd be willing to contribute.
Hello Kahunalu,
After 2-3 minutes searching for a specific word or words using pwnbin , pastebin is blocking my IP .
I have an API key , can you please tell me if there is a way to use it on your script in order to avoid getting blocked ?
Thanks in advance.
Hi,
Could you provide me with a way to contact you, or contact me via the email on my GitHub profile.
It's about an press article regarding pwnbin.
Also, feel free to delete this issue since it's quite off-topic.
I'm getting the following error:
$ python pwnbin.py -k test -o test.log
Crawling http://pastebin.com Press ctrl+c to save file to test.log
Traceback (most recent call last):
File "pwnbin.py", line 152, in <module>
main(sys.argv[1:])
File "pwnbin.py", line 28, in main
for paste in find_new_pastes(root_html):
File "pwnbin.py", line 96, in find_new_pastes
ul = div.find('ul', {'class': 'right_menu'})
AttributeError: 'NoneType' object has no attribute 'find'
I checked all of the dependencies and I think that I have all of the dependencies listed in the import table.
I searched what AttributeError: 'NoneType' object has no attribute 'find'
means and it, according to stackoverflow:
"NoneType means that instead of an instance of whatever Class or Object you think you're working with, you've actually got None. That usually means that an assignment or function call up above failed or returned an unexpected result."
Any guidance here?
Thanks in advance.
Would there be a way to search instead of just keywords, but phrases as well? ie:
-k "Something super specific goes here","another specific thing","token"
Awesome script!
Dear Luke,
Can you tell me where i did wrong?
Thank you so much for your help!
Dear
I used this tool successfully in the past.
Now I get :
"
You're on your own on this one! Error code <urlopen error [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)> "
Not sure if I gave my API key or similar as a argument when executing the Python script or if this is necessary? Did something changed at pastebin end or what can be the issue here please?
Thanks a lot!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.