Skip to content

Instantly share code, notes, and snippets.

Avatar
☠️
thought bleeding

Brandon Perry brandonprry

☠️
thought bleeding
View GitHub Profile
@brandonprry
brandonprry / gist:3014090
Created June 28, 2012 21:37
wapiti_to_dsxs
View gist:3014090
using System;
using System.Xml;
using System.Collections.Generic;
using System.Diagnostics;
namespace wapiti_to_dsxs
{
class MainClass
{
public class WapitiBug
@brandonprry
brandonprry / gist:3014103
Created June 28, 2012 21:39
wapiti_to_sqlmap
View gist:3014103
#!/usr/bin/env ruby
require 'active_support/secure_random'
require 'rexml/document'
wapiti_path = '/home/bperry/tools/wapiti/trunk/src/'
sqlmap_path = '/home/bperry/tools/sqlmap/'
wapiti_report_path = '/tmp/wapiti_report_' + SecureRandom.uuid + '.xml'
@brandonprry
brandonprry / gist:3020398
Created June 29, 2012 20:18
wapiti_to_sqlmap_2
View gist:3020398
#!/usr/bin/env ruby
#require 'active_support/secure_random'
require 'rexml/document'
wapiti_path = '/home/bperry/tools/wapiti/trunk/src/'
sqlmap_path = '/home/bperry/tools/sqlmap/'
wapiti_report_path = '/home/bperry/tmp/wapiti_report_' + rand(99999).to_s + '.xml'
View gist:3710662
import org.springframework.expression.Expression;
import org.springframework.expression.ExpressionParser;
import org.springframework.expression.spel.standard.SpelExpressionParser;
import org.springframework.util.Assert;
import org.apache.commons.logging.LogFactory;
import java.io.*;
import java.util.Date;
public class main {
View gist:3710710
import org.springframework.expression.Expression;
import org.springframework.expression.ExpressionParser;
import org.springframework.expression.spel.standard.SpelExpressionParser;
import org.springframework.util.Assert;
import org.apache.commons.logging.LogFactory;
import java.io.*;
import java.util.Date;
public class main {
@brandonprry
brandonprry / gist:5711340
Last active July 1, 2022 23:40
Cross-platform metasploit payload
View gist:5711340
using System;
using System.Runtime.InteropServices;
namespace MetasploitPayload
{
class MainClass
{
public static void Main(string[] args)
{
OperatingSystem os = Environment.OSVersion;
@brandonprry
brandonprry / gist:5726268
Last active March 3, 2018 01:59
Dirty C# decompiler
View gist:5726268
using System;
using ICSharpCode.Decompiler.Ast;
using System.IO;
using Mono.Cecil;
using ICSharpCode.Decompiler;
using System.Collections.Generic;
namespace Decompiler {
class MainClass {
public static void Main (string[] args) {
View gist:5801954
osx/misc/ufo_ai
multi/misc/zend_java_bridge
multi/misc/pbot_exec
multi/misc/hp_vsa_exec
multi/misc/batik_svg_java
multi/misc/java_rmi_server
multi/misc/indesign_server_soap
multi/misc/ra1nx_pubcall_exec
multi/http/splunk_upload_app_exec
multi/http/spree_searchlogic_exec
View gist:5962705
[*] Rebuilding the module cache in the background...
msf > openvas_connect admin admin 192.168.1.21 9390 ok
[-] Unknown command: openvas_connect.
msf > load openvas
[*] Welcome to OpenVAS integration by kost and averagesecurityguy.
[*]
[*] OpenVAS integration requires a database connection. Once the
[*] database is ready, connect to the OpenVAS server using openvas_connect.
[*] For additional commands use openvas_help.
[*]
View gist:6325845
using System;
using metasploitsharp;
using System.Collections.Generic;
namespace ModuleExecuteExample
{
class MainClass
{
public static void Main (string[] args)
{