Skip to content

Instantly share code, notes, and snippets.

@bcse
bcse / scrdec18-VC8.exe
Created February 15, 2012 10:13
Windows Script Decoder 1.8 (Decoding JScript.Encoded)
@diego898
diego898 / rd.md
Last active October 13, 2020 21:18
Enable Concurrent Remote Desktop Users in Windows 8.1 x64

thanks to @neurodyne and this link for updated instructions

This works with the following versions of termsrv.dll

x64 - termsrv.dll - 6.3.9600.17095

Find Replace
39813C0600000F849E310500 B80001000089813806000090
090085C07F078BD8 090085C090908BD8
@timsutton
timsutton / autodmg-hdiutil-error.sh
Last active August 29, 2015 13:57
AutoDMG sudo CLI output, hdiutil 'invalid argument' error
sudo /Applications/AutoDMG.app/Contents/MacOS/AutoDMG -r -L 7 -l - build --updates --output imagebuild/base-10.9.2-13C64.dmg ~/InstallESD.dmg
Password:
March 24, 2014 at 11:47:12 AM EDT Running as root, using /var/root/Library/Application Support/AutoDMG
March 24, 2014 at 11:47:12 AM EDT AutoDMG v1.3 build 235
March 24, 2014 at 11:47:12 AM EDT Mac OS X 10.9.2 13C64
March 24, 2014 at 11:47:12 AM EDT CPython 2.7.5 (GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68))
March 24, 2014 at 11:47:12 AM EDT PyObjC 2.3.2a0
March 24, 2014 at 11:47:12 AM EDT Setting source path to '/Users/tsutton/InstallESD.dmg'
March 24, 2014 at 11:47:12 AM EDT Setting output path to 'imagebuild/base-10.9.2-13C64.dmg'
March 24, 2014 at 11:47:12 AM EDT Setting apply updates to '1'
@geekman
geekman / jffs2.py
Created October 26, 2015 16:30
JFFS2 scripts
#!/usr/bin/env python
#
# tool to parse JFFS2 images
# and more importantly, guess the erase block size
#
# 2015.10.19 darell tan
#
from struct import unpack
from argparse import ArgumentParser
@geekman
geekman / bruteforce-cfg1.go
Created December 30, 2015 08:35
32c3CTF 2015 bruteforce tool for "config.bin"
/*
* bruteforce-cfg1.go
* to bruteforce CFG1 encryption passwords for 32c3CTF "config.bin"
*
* @zxcvgm
*/
package main
import (
brutedict "github.com/dieyushi/golang-brutedict"
@CTurt
CTurt / x.c
Created January 30, 2016 17:15
PoC for kernel stack overflow in sysctl handler for kern.binmisc.add
/*
PoC for kernel stack overflow in sysctl handler for kern.binmisc.add:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206761#c0
su
kldload imgact_binmisc
./x
- CTurt
@bond-
bond- / Yi-Home-README
Last active December 13, 2016 14:43
Yi Home app and firmware
Camera is great but finding app was difficult. Also, sharing what I did do the configuration right:
App:
- Download from Xiaomi market app from app.mi.com (http://app.mi.com/getAppstoreApkUrl)
- Login to market using Mi account
- In Xiaomi market app search for the string: 小蚁智能摄像机
- Download the first app from the store, It should show "Yi Home"
Firmware:
- Don't upgrade the firmware beyond 1.8.5.1L_201510301024
@skulltech
skulltech / apk-embed-payload.rb
Last active April 1, 2023 04:50
POC for injecting Metasploit payloads on arbitrary APKs
#!/usr/bin/env ruby
# apk_backdoor.rb
# This script is a POC for injecting metasploit payloads on
# arbitrary APKs.
# Authored by timwr, Jack64
#
require 'nokogiri'
require 'fileutils'
@psxdev
psxdev / output.txt
Created March 10, 2016 01:05
badiret with libps4,ps4link,ps4sh
log: [PS4][DEBUG]: [PS4LINK] commands listener received packet size (266)
log: [PS4][DEBUG]: [PS4LINK] Received command execpayload argc=0 argv=
log: [PS4][DEBUG]: [PS4LINK] execpayload command thread UID: 0x80D2A520
log: [PS4][DEBUG]: [PS4LINK] commands listener waiting for next command
log: [PS4][DEBUG]: Loaded on corer 7
log: [PS4][DEBUG]: Setting affinity return 0x00000000
log: [PS4][DEBUG]: xpageEntryHi = ffffffff833249a8
log: [PS4][DEBUG]: mmap codepe0 825fc000
log: [PS4][DEBUG]: mmap codepe1 1825fc000
log: [PS4][DEBUG]: mmap codepe2 2825fc000