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 python3 | |
# ====================================== | |
# Requires the following deps: | |
# pip install xmltodict, requests, bs4 | |
# ====================================== | |
from argparse import ArgumentParser | |
from pathlib import Path | |
import requests | |
import zipfile |
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
using System.Runtime.InteropServices; | |
using System; | |
/* | |
* Simple C# PoC to enable WebClient Service Programmatically | |
* Based on the C++ version from @tirannido (James Forshaw) | |
* Twitter: https://twitter.com/tiraniddo | |
* URL: https://www.tiraniddo.dev/2015/03/starting-webclient-service.html | |
* | |
* Compile with: |
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 | |
# Create a timestamp | |
ts="$(date +%Y%m%d)" | |
# Determine running directory | |
cwd="$(pwd $(dirname $0))" | |
# Define build_file | |
build_file= |
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/sh | |
usage(){ | |
echo "# ################# Simple CPP to DLL Utility ################# #" | |
echo "# This tool has been maded to easily generate and compile a DLL to be used for DLL hijacking.#" | |
echo "# #" | |
echo "# ========================================================================================== #" | |
echo "# #" | |
echo "# Usage: #" | |
echo "# ./dll-gcc [Options] <input-file> #" |
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/sh | |
# Default values | |
input_apk="" | |
signer_path="" | |
# Function to display help message | |
print_help() { | |
echo "Usage: $0 -i <input_apk> [-s <signer_path>]" | |
echo "" |
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
def gf_mul_by_09(num): | |
ret = gf_mul_by_02(gf_mul_by_02(gf_mul_by_02(num))) ^ num | |
return ret | |
def gf_mul_by_0b(num): | |
ret = gf_mul_by_02(gf_mul_by_02(gf_mul_by_02(num))) ^ gf_mul_by_02(num) ^ num | |
return ret | |
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 | |
# ------------------------------------------------------------------------------------------------------------------- | |
# Exploit Author: d3adc0de | |
# Software: https://roundcube.net/ | |
# Versions: 1.1.0 - 1.1.9, 1.2.0 - 1.2.6, 1.3.0 - 1.3.2 | |
# CVE: CVE-2017-16651 | |
# Credits: Thomas Bruederli (Discoverer) | |
# Release date: 2017-11-09 | |
# Vulnerability Description: https://gist.github.com/thomascube/3ace32074e23fca0e6510e500bd914a1 | |
# ------------------------------------------------------------------------------------------------------------------- |
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
Option Explicit | |
Sub AddElements() | |
Dim shp As Shape | |
Dim i As Integer, n As Integer | |
n = ActivePresentation.Slides.Count | |
For i = 1 To n | |
Dim s As Slide | |
Set s = ActivePresentation.Slides(i) |
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
xcodebuild | |
-exportArchive | |
-exportOptionsPlist {PATH_TO_PROJECT_ROOT}/ios/build/info.plist | |
-archivePath {PATH_TO_ARCHIVE_MADE_USING_XCODE}/App.xcarchive | |
-exportPath {PATH_TO_EXPORT_THE_APP}/App.ipa |
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
import frida | |
import sys | |
import subprocess | |
import ctypes | |
import threading | |
import multiprocessing | |
import argparse | |
def inject_dummy(): |
NewerOlder