Code Monkey home page Code Monkey logo

oscp-14's Introduction

oscp

Planning and prepare for OSCP

Checks

[ ] Scanning

[ ] Enumeration

[ ] Exploitation

[ ] Privilege Escalation

[ ] Flags

[ ] Post Exploitation


[ ] Scanning

Fping

fping is a small command line tool to send ICMP (Internet Control Message Protocol) echo request to network hosts, similar to ping, but much higher performing when pinging multiple hosts. fping totally differs from ping in that you can define any number of hosts on the command line or specify a file with the list of IP addresses or hosts to ping.

For install:
# apt install fping  [On Debian/Ubuntu]

Use examples:
  For scan a range:
    # fping -g 192.168.1.0/24

Nmap

Nmap ("Network Mapper") is a free and open source (license) utility for network discovery and security auditing. Many systems and network administrators also find it useful for tasks such as network inventory, managing service upgrade schedules, and monitoring host or service uptime. Nmap uses raw IP packets in novel ways to determine what hosts are available on the network, what services (application name and version) those hosts are offering, what operating systems (and OS versions) they are running, what type of packet filters/firewalls are in use, and dozens of other characteristics. It was designed to rapidly scan large networks, but works fine against single hosts.
  
For Install:
# apt install nmap

Use examples:
  Quick TCP Scan
    nmap -sC -sV -vv -oA quick 192.168.1.1

  Quick UDP Scan
    nmap -sU -sV -vv -oA quick_udp 192.168.1.1

  Full TCP Scan
    nmap -sC -sV -p- -vv -oA full 192.168.1.1
    
    
  -p- scans 1-65535 so you can omit 1-65535.

I use this one a lot in general

nmap -p 445 -vv --script=smb-vuln-cve2009-3103.nse,smb-vuln-ms06-025.nse,smb-vuln-ms07-029.nse,smb-vuln-ms08-067.nse,smb-vuln-ms10-054.nse,smb-vuln-ms10-061.nse,smb-vuln-ms17-010.nse 192.158.1.1
    
 More NMAP:
 nmap -sS -Pn 192.168.1.1 -vvv
 nmap -A -Pn 192.168.1.1 -vv
 nmap -sU -Pn 192.168.1.1 -vv
 nmap -vvv -sn 201.210.67.0/24
 nmap -sP 192.168.1.1-200
 
 First locate the nmap scripts.
 # locate *.nse
 The syntax for running a script is:
 # nmap --script scriptname 192.168.1.101
 
 Can be run by separating the script with a comma
 nmap --script scriptone.nse,sciprt2.nse,script3.nse 192.168.1.1
 
 
 ...

oscp-14's People

Contributors

ramonbsd avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.