Skip to content

nxkennedy/clickjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clickjack

Simple script to test if a page is vulnerable to clickjacking

Description

Attempts to render the target site in an iframe and places another iframe on top of it as an example attack. Inspired by the PoC html boilerplate provided by OWASP (https://www.owasp.org/index.php/Testing_for_Clickjacking_(OTG-CLIENT-009)#How_to_Test).

Requirements

python3

Usage

python3 clickjack.py <url>

Output

Creates two html pages:

  • cj-target.html - the page that will be automatically opened in your browser
  • cj-attacker.html - a page that generates our sample attacking iframe

When the page is vulnerable:

VULNERABLE

When the page is not vulnerable (may also appear blank):

NOT_VULNERABLE

About

Simple script to test for clickjacking

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages