src: https://www.stationx.net/nmap-cheat-sheet
| Switch | Example | Description |
| AV Products or Companies: | |
| Avast | |
| BitDefender | |
| Carbon Black | |
| Check Point | |
| Cisco | |
| ClamAV | |
| CrowdStrike | |
| Cylance | |
| Elastic Endpoint Security |
| # -*- encoding: utf-8 -*- | |
| # requires a recent enough python with idna support in socket | |
| # pyopenssl, cryptography and idna | |
| from OpenSSL import SSL | |
| from cryptography import x509 | |
| from cryptography.x509.oid import NameOID | |
| import idna | |
| from socket import socket |
src: https://www.stationx.net/nmap-cheat-sheet
| Switch | Example | Description |
| #!/usr/bin/env python | |
| from Crypto.Cipher import AES | |
| import sys | |
| def split_len(seq, length): | |
| return [seq[i:i+length] for i in range(0, len(seq), length)] | |
| def oracle(chosen): | |
| secret = "foobarbaz1234567890%sSecret42" % chosen # target to decrypt |
| # INSTALL INSTRUCTIONS: save as ~/.gdbinit | |
| # | |
| # DESCRIPTION: A user-friendly gdb configuration file. | |
| # | |
| # REVISION : 7.4 (22/05/2011) | |
| # | |
| # CONTRIBUTORS: mammon_, elaine, pusillus, mong, zhang le, l0kit, | |
| # truthix the cyberpunk, fG!, gln, dipswitch | |
| # | |
| # FEEDBACK: https://www.reverse-engineering.net |