This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# | |
# Cisco IOS GDB RSP Wrapper | |
# PowerPC Version | |
# | |
# Authors: | |
# | |
# Artem Kondratenko (@artkond) - original mips version | |
# Nicholas Starke (@nstarke) - powerpc version | |
# Adapted from https://github.com/klsecservices/ios_mips_gdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Most of this taken from https://stackoverflow.com/a/19780129 with some edits. | |
#ifndef _WIN32_WINNT | |
// Windows XP | |
#define _WIN32_WINNT 0x0501 | |
#endif | |
#define MAX_PATH 0xFF | |
#include <Windows.h> | |
#include <Psapi.h> | |
#include <iostream> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python3 ~/cpu_rec/cpu_rec.py *.clx | |
AQC100-Felicity-3.1.121_bdp_aqsign.clx full(0x200000) None chunk(0x30800;97) Xtensa | |
AQC107-Nikki-3.1.121_bdp_aqsign.clx full(0x200000) None chunk(0x30800;97) Xtensa | |
AQC111-Bermuda-B0-3.1.121_bdp_aqsign.clx full(0x200000) None chunk(0x31000;98) Xtensa | |
$ binwalk *.clx | |
Scan Time: 2021-07-08 17:01:00 | |
Target File: /home/nick/aqn/AQC100-Felicity-3.1.121_bdp_aqsign.clx | |
MD5 Checksum: 3dd8e40cd3e4aa183b13939190b86b05 | |
Signatures: 404 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.assert = function (){}; | |
console.clear = function (){}; | |
console.count = function (){}; | |
console.error = function (){}; | |
console.group = function (){}; | |
console.groupCollapsed = function (){}; | |
console.groupEnd = function (){}; | |
console.info = function (){}; | |
console.log = function (){}; | |
console.table = function (){}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ### | |
* IP: GHIDRA | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
egrep --include "*.cpp" --include "*.c" -r -e "[\^]?(\.\*)|(\[\w+*\-\w+*\])|(\{\d+[\,\d+]?\})[\$]?" . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
APK=$1 | |
# Linux only right now. | |
if [ ! -d "$HOME/.android-decompile-tools" ]; then | |
mkdir "$HOME/.android-decompile-tools" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This script takes a Thecus Firmware Image and decrypts it. | |
# The encryption key is based off of one of the supported | |
# models, which are listed in the firmware filename. This | |
# script will try all of the model names in the file name | |
# and delete any that do not decrypt to a gzip file. | |
# | |
# You will need the following c program compiled and passed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# This script is meant to assist in filling up a MAC ADDRESS Table on a switch | |
# This script reuqires scapy to be installed, and most likely will need to be | |
# run as root. That means scapy will have to be installed for the root user | |
# in order for this script to work. | |
# | |
# Arguments: | |
# * Interface to send ARP packet on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from Crypto.Hash import MD4 | |
import socket | |
import base64 | |
import os | |
import random | |
import time | |
import sys |