Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
pentestproxy — Scripts for: How to Build a Covert Pentesting Infrastructure Almost Free | Kitploit
Tools/GitHubGitHub/shiva108/pentestproxy
IDS/IPS EvasionScripting & AutomationNetwork SecurityPenetration TestingCommand and ControlRed TeamingDNS AnalysisArchived
GitHubshiva108/pentestproxy

pentestproxy

Scripts for: How to Build a Covert Pentesting Infrastructure Almost Free

View Repository
2237 months agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

PentestProxy

Scripts for building a Covert Pentesting Infrastructure using RedSocks and DNScrypt.

Overview

This repository contains a set of Bash scripts to assist in setting up a transparent proxy infrastructure. It routes traffic through a SOCKS5 proxy (via RedSocks) and encrypts DNS queries (via DNScrypt).

Original Source: CPH-SEC/CPH-SEC.github.io

Requirements

  • Linux (Debian/Ubuntu based)
  • Root privileges (sudo)
  • python3
  • iptables
  • nano (or editor of choice)
  • curl

Installation

  1. Install dependencies: Run the installation script to set up dnscrypt-proxy and resolvconf.

    root@kitploit:~
    sudo ./installdnscrypt.sh
    
  2. Edit RedSocks configuration: Configure your remote SOCKS5 proxy details.

    root@kitploit:~
    sudo ./editREDconf.sh
    

Usage

Starting the Proxy

To start the transparent proxy (this will restart DNS services and apply iptables rules):

root@kitploit:~
sudo ./startREDsocks.sh

This script acts as the main entry point. It will keep running. Press Ctrl+C to stop and clean up.

Manual Controls

  • Route Traffic: Apply iptables rules manually.

    root@kitploit:~
    sudo ./iproute.sh
    
  • Reset Routing: Clear iptables rules and stop redirection.

    root@kitploit:~
    sudo ./resetiproute.sh
    
  • Restart DNS: Restart DNScrypt and networking.

    root@kitploit:~
    sudo ./restartDNScrypt.sh
    
  • Check IP: Verify your external IP address.

    root@kitploit:~
    ./myip.sh
    
  • Fetch Proxies: (Requires fetch-some-proxies submodule)

    root@kitploit:~
    sudo ./fetch.sh
    

Security Code Quality

This repository has been audited and modernized.

  • Safety: Scripts check for root privileges and required dependencies.
  • Logging: All scripts use structured logging.
  • Error Handling: set -euo pipefail is enabled to catch errors early.
Download Tool