Offensive Security Tool: XSRFProbe

Share:

Reading Time: 2 Minutes

XSRFProbe

XSRFProbe, developed by 0xInfection, is an advanced Cross Site Request Forgery (CSRF/XSRF) Audit and Exploitation Toolkit. Equipped with a powerful crawling engine and numerous systematic checks, it is able to detect most cases of CSRF vulnerabilities, their related bypasses and further generate (maliciously) exploitable proof of concepts with each found vulnerability. For more info on how XSRFProbe works, see XSRFProbe Internals on wiki.

See Also: So you want to be a hacker?
Offensive Security and Ethical Hacking Course

Some Features:

  •  Performs several types of checks before declaring an endpoint as vulnerable.
  •  Can detect several types of Anti-CSRF tokens in POST requests.
  •  Works with a powerful crawler which features continuous crawling and scanning.
  •  Out of the box support for custom cookie values and generic headers.
  •  Accurate Token-Strength Detection and Analysis using various algorithms.
  •  Can generate both normal as well as maliciously exploitable CSRF proof of concepts.
  •  Well documented code and highly generalised automated workflow.
  •  The user is in control of everything whatever the scanner does.
  •  Has a user-friendly interaction environment with full verbose support.
  •  Detailed logging system of errors, vulnerabilities, tokens and other stuffs.

See Also: Offensive Security Techniques Repo: RustRedOps

See Also: How to Exploit “improper error handling” in Web Applications

Usage

For the full usage info, please take a look at the wiki’s — General Usage and Advanced Usage.

Installing via Pypi:

XSRFProbe can be easily installed via a single command:

pip install xsrfprobe

Installing manually:

  • For the basics, the first step is to install the tool:

python3 setup.py install

  • Now, the tool can be fired up via:

xsrfprobe --help

  • After testing XSRFProbe on a site, an output folder is created in your present working directory as xsrfprobe-output. Under this folder you can view the detailed logs and information collected during the scans.

Warnings:

Do not use this tool on a live site!

It is because this tool is designed to perform all kinds of form submissions automatically which can sabotage the site. Sometimes you may screw up the database and most probably perform a DoS on the site as well.

Test on a disposable/dummy setup/site!

Disclaimer:

Usage of XSRFProbe for testing websites without prior mutual consistency can be considered as an illegal activity. It is the final user’s responsibility to obey all applicable local, state and federal laws. The author assumes no liability and is not exclusively responsible for any misuse or damage caused by this program.

Clone the repo from here: GitHub Link

See Also: Post-Exploitation Techniques: Maintaining Access, Escalating Privileges, Gathering Credentials, Covering Tracks

Source

Leave a Comment

Your email address will not be published. Required fields are marked *

loader-image
London, GB
4:18 pm, Mar 27, 2025
weather icon 14°C
L: 14° | H: 14°
clear sky
Humidity: 71 %
Pressure: 1018 mb
Wind: 11 mph W
Wind Gust: 0 mph
UV Index: 0
Precipitation: 0 mm
Clouds: 9%
Rain Chance: 0%
Visibility: 10 km
Sunrise: 5:46 am
Sunset: 6:24 pm
DailyHourly
Daily ForecastHourly Forecast
Today 9:00 pm
weather icon
10° | 14°°C 0 mm 0% 7 mph 80 % 1017 mb 0 mm/h
Tomorrow 9:00 pm
weather icon
8° | 12°°C 1 mm 100% 14 mph 89 % 1016 mb 0 mm/h
Sat Mar 29 9:00 pm
weather icon
4° | 13°°C 0 mm 0% 8 mph 78 % 1023 mb 0 mm/h
Sun Mar 30 9:00 pm
weather icon
7° | 18°°C 0 mm 0% 10 mph 88 % 1025 mb 0 mm/h
Mon Mar 31 9:00 pm
weather icon
8° | 15°°C 0 mm 0% 8 mph 82 % 1028 mb 0 mm/h
Today 6:00 pm
weather icon
14° | 14°°C 0 mm 0% 7 mph 65 % 1017 mb 0 mm/h
Today 9:00 pm
weather icon
10° | 10°°C 0 mm 0% 7 mph 80 % 1017 mb 0 mm/h
Tomorrow 12:00 am
weather icon
10° | 10°°C 0 mm 0% 7 mph 81 % 1015 mb 0 mm/h
Tomorrow 3:00 am
weather icon
9° | 9°°C 0 mm 0% 8 mph 83 % 1013 mb 0 mm/h
Tomorrow 6:00 am
weather icon
9° | 9°°C 0 mm 0% 9 mph 87 % 1012 mb 0 mm/h
Tomorrow 9:00 am
weather icon
10° | 10°°C 0.99 mm 99% 9 mph 89 % 1011 mb 0 mm/h
Tomorrow 12:00 pm
weather icon
12° | 12°°C 1 mm 100% 12 mph 57 % 1012 mb 0 mm/h
Tomorrow 3:00 pm
weather icon
12° | 12°°C 0 mm 0% 14 mph 39 % 1012 mb 0 mm/h
Name Price24H (%)
Bitcoin(BTC)
€80,924.77
0.52%
Ethereum(ETH)
€1,866.68
-0.15%
Tether(USDT)
€0.93
-0.03%
XRP(XRP)
€2.18
-2.64%
Solana(SOL)
€128.45
-0.81%
USDC(USDC)
€0.93
0.00%
Dogecoin(DOGE)
€0.178911
-1.81%
Shiba Inu(SHIB)
€0.000013
-2.46%
Pepe(PEPE)
€0.000008
-2.09%
Peanut the Squirrel(PNUT)
€0.213778
7.85%
Scroll to Top