forked from techforum-repo/youttubedata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WAF.txt
19 lines (15 loc) · 780 Bytes
/
WAF.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env groovy
// setup connection
def url = new URL("https://test.albinsblog.com/content/we-retail/us/en.html?id="+Math.random())
for(int i = 0;i<150;i++) {
def connection = url.openConnection()
println connection.responseCode
if(connection.responseCode == 200){
println "Connection successful"
}
else{
println "Ouchy! Error!"
}
}
/content/we-retail/us/en.html?%20or%20(1,2)=(select*from(select%20name_const(CHAR(71,79,97,65,111,105,97,119,105),1),name_const(CHAR(71,79,97,65,111,105,97,119,105),1))a)%20--%20and%201=1
keytool -import -trustcacerts -alias test.albinsblog.vom -file "C:\Albin\blogData\WAF\cert.cer" -keystore "C:\Program Files\Java\jdk1.8.0_51\jre\lib\security\cacerts"