Red/Blue Cheatsheet | NORI ZAMURAI
  • Introduction
  • Pentesting Cheatsheets
    • Reconnaissance
      • Other method
      • Nmap
    • Enumeration
      • DNS (53)
      • SSH (22)
      • FTP (21)
      • SMTP (25)
      • WEB (80,443)
      • POP3 (110)
      • SMB (139,445)
      • MySQL (3306)
    • Privilege Escalation
      • Linux
      • Windows
    • Shell
      • Reverse Shell
      • Upgrade Shell
      • Meterpreter
    • Password Crack
      • Hash Analysis
      • Bruteforce
    • Exploit
      • Search Exploit
      • Attacks
    • Paylaod
      • Msfvenom
    • File Transfer
    • Port Forwarding
    • Service Login and Interaction
  • Useful Commands
    • Linux Commands
    • Powershell
    • CMD
    • Python
    • Editor: Vi & Tmux
    • Metasploit
    • Powershell Empire
Powered by GitBook
On this page

Was this helpful?

  1. Useful Commands

Editor: Vi & Tmux

Sed

22/open
25/open
80/open
110/open
119/open
4555/open
~                                                                               
:%s/\/ope//g
110n
119n
22n
25n
4555n
80n
~                                                                               
:%s/n\n/,/g
cat ports.lst 
110,119,22,25,4555,80,

PreviousPythonNextMetasploit

Last updated 5 years ago

Was this helpful?