Skip to content

Commit

Permalink
Create https_server_for_exfiltration_xss.toml
Browse files Browse the repository at this point in the history
added entry
  • Loading branch information
Nickguitar committed Jan 14, 2024
1 parent 8e0fbaa commit 1d4657c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions entries/https_server_for_exfiltration_xss.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
title = "Quickly setting up a HTTPS server for data exfiltration"
description = "Prevent browsers from blocking requests to your host when exfiltrating data via XSS"
tags = ["web", "xss", "linux", "xss"]
source = []

[[data]]
description = "Modern browsers follow the mixed content blocking policy, which stops loading HTTP content on HTTPS pages to protect security. With stunnel you can quickly add TLS functionality to your webserver and be able to receive connections from scripts running on HTTPS websites."
language = "bash"
command = """pacman -S stunnel glibc lib32-glibc # or apt, or others depending on distro
cp /etc/stunnel/stunnel.conf-sample /etc/stunnel/stunnel.conf
openssl req -new -x509 -days 365 -nodes -out /etc/stunnel/stunnel.pem -keyout /etc/stunnel/stunnel.pem
python -m http.server 8080
# or, alternatively, php -S 0.0.0.0:8080
sudo stunnel3 -d 443 -r 8080 -p /etc/stunnel/stunnel.pem"""

0 comments on commit 1d4657c

Please sign in to comment.