Skip to content

fhd342gs/CJ-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clickjacking PoC

A "Clickjacking" demonstration tool for security assessments.

Disclaimer: For authorized security testing only. Use this project only on systems you own or where you have explicit written permission to test. You are solely responsible for how you use it; the author(s) assume no liability for any misuse, damage, or legal consequences resulting from use of this project or its contents.

image

Features

  • Attack Scenarios: Click hijacking, credential harvesting
  • Credential Harvesting Mode: Overlay captures login credentials in real-time
  • Stealth Mode: Invisible form borders with solid background to mask real placeholders
  • Full Positioning Controls: Arrow pad, X/Y/W, field sizing, radius, padding, button offset
  • Attacker/Victim Views: Toggle between setup and demonstration modes
  • Customizable Appearance: Iframe size, field colors, border radius, text padding
  • Keyboard Shortcuts: Arrow keys for positioning, Escape to exit victim view

Quick Start

Option 1: URL Parameters

assessment.html?target=https://target.com/login&scenario=credential

Option 2: Edit CONFIG

const CONFIG = {
    targetUrl: 'https://target.com/login',
    targetName: 'Target Corp',
    defaultScenario: 'credential'
};

Controls

Control Description
Iframe Size Adjust iframe width × height to match target page
Arrow Pad Move overlay position (or use keyboard arrows)
X, Y, W Overlay position and width
H, Font, Gap Field height, font size, spacing
Rad, Pad Border radius and input padding
Button Offset X/Y Position submit button independently
Overlay Slider Overlay opacity for alignment
Stealth Toggle Enable invisible fields mode
Bg / Text Colors Match target form colors

Keyboard Shortcuts

Key Action
↑ ↓ ← → Move overlay (in credential mode)
Escape Exit victim view

License

Mozilla Public License 2.0

About

Gadget for "Clickjacking" testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages