Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Proof of Concept - Using squid url rewrite feature to "hijack" proxy traffic and inject BeEF payload into it.

License

Notifications You must be signed in to change notification settings

RamadhanAmizudin/squid3-beEF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Squid3-beEF

Proof of Concept - Using squid url rewrite feature to "hijack" proxy traffic and inject BeEF payload into it.

Requirement

Installation

  1. Copy rewrite.php and payload.js to apache document root
  2. Make rewrite.php executable by using following command
    • chmod +x /rewrite.php
  3. Edit /etc/squid3/squid.conf and add following line
    • url_rewrite_program /rewrite.php
  4. Change #_BEEFURL_# inside payload.js to BeEF Hook URL
  5. Create empty folder and allow writable by all user
    • mkdir -p /payload
    • chmod 0777 /payload

Be sure to restart squid3 (sudo service squid3 restart) to refresh the changes.

About

Proof of Concept - Using squid url rewrite feature to "hijack" proxy traffic and inject BeEF payload into it.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages