Skip to content

Instantly share code, notes, and snippets.

Michael Lynn pudquick

Block or report user

Report or block pudquick

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View authbuddy.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>allow-root</key>
<true/>
<key>authenticate-user</key>
<true/>
<key>class</key>
<string>user</string>
@pudquick
pudquick / Info.plist
Last active Aug 29, 2015
Minecraft Info.plist changes for JRE 7
View Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key> <string>en</string>
<key>CFBundleName</key> <string>MinecraftLauncher</string>
<key>CFBundleVersion</key> <string>1.0.1</string>
<key>CFBundleShortVersionString</key> <string>MinecraftLauncher 1.0.1</string>
<key>CFBundleExecutable</key> <string>LaunchGame</string>
<key>CFBundlePackageType</key> <string>APPL</string>
@pudquick
pudquick / iokit-personalities.plist
Last active Aug 29, 2015
DisplayLink IOKitPersonalities
View iokit-personalities.plist
<key>IOKitPersonalities</key>
<dict>
<key>DisplayLink0</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.displaylink.driver.DisplayLinkDriver</string>
<key>IOClass</key>
<string>DisplayLinkParent</string>
<key>IOMatchCategory</key>
<string>DisplayLinkParent0</string>
@pudquick
pudquick / protections.ps1
Last active Aug 29, 2015
misc antiviral
View protections.ps1
AccessProtection {
UserString UR1 "Prevent evil programs from creating *.exe under application data (2000/XP)"
UserEnforce UR1 0
UserReport UR1 1
UserProcess UR1 {Include iexplore.exe java.exe javaw.exe javaws.exe}
UserRule UR1 G_User {File C { Include "**\\Documents and Settings\\**\\Application Data\\**\\*.exe" }
}
UserString UR10 "CryptoLocker HKCU\\....\\Run"
UserEnforce UR10 1
UserReport UR10 1
View gist:db5d39c9d678181a6294
from ctypes import CDLL, Structure, POINTER, c_int32
CFoundation = CDLL('/System/Library/Frameworks/CoreFoundation.Framework/Versions/Current/CoreFoundation')
from CoreFoundation import kCFStringEncodingUTF8
class OpaqueType(Structure):
pass
OpaqueTypeRef = POINTER(OpaqueType)
CFArrayCreateMutable = CFoundation.CFArrayCreateMutable
View authsvc_remade.py
from ctypes import CDLL, Structure, POINTER, c_char_p, c_size_t, c_void_p, c_uint32, pointer, byref
Security = CDLL('/System/Library/Frameworks/Security.framework/Versions/Current/Security')
class OpaqueType(Structure):
pass
OpaqueTypeRef = POINTER(OpaqueType)
AuthorizationRef = OpaqueTypeRef
View query.xml
<QueryList>
<Query Id="0" Path="System">
<Select Path="System">
*[EventData/Data[6]]
</Select>
</Query>
</QueryList>
View sample_802.1x_loginwindow.mobileconfig
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadCertificateFileName</key>
<string>my.org.cer</string>
<key>PayloadContent</key>
View app_map.c
#include <CoreFoundation/CoreFoundation.h>
CFPropertyListRef _CFPreferencesCopyApplicationMap(CFStringRef userName, CFStringRef hostName);
int main()
{
CFPropertyListRef app_map;
app_map = _CFPreferencesCopyApplicationMap(kCFPreferencesCurrentUser, kCFPreferencesAnyHost);
You can’t perform that action at this time.