Skip to content
Here I'll put my Python snippets that may be useful for one or the other purpose.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
check_sqli.py
convert_cyrillic_ru.py
haveibeenpwned.py
robots_check.py
tor_check.py

README.md

Useful-Python-Snippets

python size lastcommit follow

Here I put my Python snippets that may be useful for one or the other purpose.

check_sqli.py

  • Checks for basic SQL Injection on a list of targets
  • Adds "'"(part of SQL Syntax) to the end of url & checks response html for SQL errors
  • Usage in code: check_sqli("example_target_list.txt")

convert_cyrillic_ru.py

  • Converts russian cyrillic chars into 'normal' ones
  • Usage in code: `convert_cyrillic_ru("еxампле")

haveibeenpwned.py

robots_check.py

  • Checks a website.com/robots.txt for entries & prints them out
  • Usage in code: robots_check("https://www.example.com")

tor_check.py

  • Tries to route the script through tor on socks5://127.0.0.1:9150 ; prints your remote ip address.
You can’t perform that action at this time.