Erwin Bierens

Knowledge is Power

Cheatsheet - Forever

2021-03-30 1 min read cheatsheet
Forever Cheatsheet A simple CLI tool for ensuring that a given script runs continuously (i.e. forever). [+] Installation You could install forever using npm like this: sudo npm install -g forever [+] Commands And then start your application with: forever server.js Or as a service: forever start server.js Forever restarts your app when it crashes or stops for some reason. To restrict restarts to 5 you could use: forever -m5 server. Continue reading

Cheatsheet - kismet

2021-03-30 1 min read cheatsheet
Kismet Cheatsheet Kismet is a wireless network and device detector, sniffer, wardriving tool, and WIDS (wireless intrusion detection) framework. Kismet works with Wi-Fi interfaces, Bluetooth interfaces, some SDR (software defined radio) hardware like the RTLSDR, and other specialized capture hardware. [+] Commands Turn Interface down ifconfig wlan0 down Set monitor mode iwconfig wlan0 mode monitor Set interface up ifconfig wlan0 up Start listening for all nearby beacon frames to get target BSSID and airodump-ng wlan0 --band abg Continue reading

Cheatsheet - snmpwalk

2021-03-30 1 min read cheatsheet
SNMPWalk Cheatsheet SNMP protocol provides useful features to monitor and configure network and server systems remotely. Monitoring features are much popular than configuration. snmpwalk is a function provided by SNMP protocol to get metrics of remote system in bulk. [+] Get All OIDS We will first look the simplest usage of the snmpwalk command. We just provide minimum options to the snmpwalk. We will provide following options as minimum -v 2c version information 2 community -c the public or private secret IPADDRESS Continue reading

Cheatsheet - Wireshark

2021-03-30 2 min read cheatsheet
Wireshark Cheatsheet Wireshark is a network packet analyzer. A network packet analyzer will try to capture network packets and tries to display that packet data as detailed as possible. You could think of a network packet analyzer as a measuring device used to examine what’s going on inside a network cable, just like a voltmeter is used by an electrician to examine what’s going on inside an electric cable (but at a higher level, of course). Continue reading