Skip to content

johnjohnsp1/swf_json_csrf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

This repository was created to simplify the SWF-based JSON CSRF exploitation

Instructions

The .swf file take 3 parameters:

  1. jsonData - apparently, JSON Data:)
  2. php_url - URL of the 307 redirector php file.
  3. endpoint - target endpoint, which is vulnerable to CSRF.

Place test.swf, test.php and crossdomain.xml on your host, then simply call the SWF file with the correct parameters.

Example call: https://yourhost.com/test.swf?jsonData={"test":1}&php_url=https://yourhost.com/test.php&endpoint=https://targethost.com/endpoint

Thanks

Special thanks to the https://twitter.com/emgeekboy, who inspired me to make this repository. Related blog posts about this:

Commits, PRs and bug reports are welcome!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages