Skip to content

Instantly share code, notes, and snippets.

rule get_eip
{
meta:
author = "William Ballenthin"
email = "william.ballenthin@fireeye.com"
license = "Apache 2.0"
copyright = "FireEye, Inc"
description = "Match x86 that appears to fetch $PC."
strings:
rule get_eip
{
meta:
author = "William Ballenthin"
email = "william.ballenthin@fireeye.com"
license = "Apache 2.0"
copyright = "FireEye, Inc"
description = "Match x86 that appears to fetch $PC."
strings:
@confile
confile / yara_fn.py
Created October 30, 2018 08:39 — forked from williballenthin/yara_fn.py
generate a yara rule that matches the basic blocks of the current function in IDA Pro
'''
IDAPython script that generates a YARA rule to match against the
basic blocks of the current function. It masks out relocation bytes
and ignores jump instructions (given that we're already trying to
match compiler-specific bytes, this is of arguable benefit).
If python-yara is installed, the IDAPython script also validates that
the generated rule matches at least one segment in the current file.
author: Willi Ballenthin <william.ballenthin@fireeye.com>
@confile
confile / SimpleHTTPServerWithUpload.py
Created February 13, 2018 20:35 — forked from UniIsland/SimpleHTTPServerWithUpload.py
Simple Python Http Server with Upload
#!/usr/bin/env python
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
"""
@confile
confile / gist:44d17779b890e2ca7e89
Last active February 5, 2016 10:01
GwtSuperDevModeLoggingServlet for Putnami GWT Gradle Plugin
package remoteLogging;
import java.io.File;
import java.util.logging.Logger;
import javax.servlet.ServletException;
import com.google.gwt.logging.server.RemoteLoggingServiceImpl;
import com.google.gwt.user.client.rpc.SerializationException;
package test.dashboard.client.app.start;
import javax.inject.Inject;
import test.dashboard.client.app.triggerList.TriggerListPagePresenter;
import test.dashboard.client.app.visitorList.VisitorListPagePresenter;
import test.dashboard.client.messages.Messages;
import test.dashboard.client.theme.base.AppGss;
import com.google.gwt.core.client.GWT;
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'
xmlns:mgwt="urn:import:com.googlecode.mgwt.ui.client.widget"
xmlns:p='urn:import:com.vaadin.polymer.paper.widget'
xmlns:i='urn:import:com.vaadin.polymer.iron.widget'
ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat'
ui:generateKeys='com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator'
ui:generateLocales='default'>
@confile
confile / init.lua
Created December 20, 2015 15:37
Connect to local wifi
-- init.lua --
WIFI_SSID = "ssid"
WIFI_PASS = "1232134123"
wifiReady = 0
WIFI_LED = 0
WIFI_ALARM_ID = 0
@confile
confile / init.lua
Created November 25, 2015 09:18
Connect to WiFi
-- init.lua --
WIFI_SSID = "fill out"
WIFI_PASS = "fill out"
wifiReady = 0
WIFI_LED = 0
WIFI_ALARM_ID = 0
------------------------------------------------------------
All tasks runnable from root project
------------------------------------------------------------
Android tasks
-------------
app:androidDependencies - Displays the Android dependencies of the project.
app:signingReport - Displays the signing info for each variant.
app:sourceSets - Prints out all the source sets defined in this project.