Skip to content

Instantly share code, notes, and snippets.

View ibitebyt3s's full-sized avatar
🏠
Working from home

ibitebyt3s ibitebyt3s

🏠
Working from home
View GitHub Profile
@ibitebyt3s
ibitebyt3s / cve_info.sh
Created September 23, 2023 19:19
Get CVE details right in your terminal. Check the images below
#! /bin/zsh
# cve_info
# Docs: https://nvd.nist.gov/developers/start-here
# Get your api key here: https://nvd.nist.gov/developers/request-an-api-key
# Get CVE details right in your terminal. Sometimes I'm in the need of looking up some CVE information and copy and
# pasting each individual CVE into the web browser is too slow. Specially when dealing with nmap output or nuclei recently
# added CVE templates. This script aims to speed up the CVE details extraction. It accepts input from stidn, a file or
# as arguments. It's still a very informal script that gets the job done and a lot of optimizations can be made. Also
public class Switch {
private Engine engine;
private boolean on;
public Switch(Engine engine) {
this.engine = engine;
this.on = false;
}
public boolean switchOn() {
try:
sueldo = float(input("Intoduce tu sueldo: "))
except ValueError:
print("Datos incorrecto")
quit()
impuesto = 0
if sueldo == 0:
print("Nada a que aplicarle impuesto")
@ibitebyt3s
ibitebyt3s / client.sh
Created October 14, 2019 05:27 — forked from leonklingele/client.sh
netcat – encrypt transfer with openssl
IP="127.0.0.1"
PORT="8877"
SHARED_SECRET="shared secret"
OPENSSL="/usr/local/opt/libressl/bin/openssl"
OPENSSL_CMD="$OPENSSL enc -a -A -aes-256-gcm"
while IFS= read -r MSG; do
echo "$MSG" | $OPENSSL_CMD -e -k "$SHARED_SECRET"
echo