Skip to content

Instantly share code, notes, and snippets.

Verifying that "evilsocket.id" is my Blockstack ID. https://onename.com/evilsocket
@evilsocket
evilsocket / example.rb
Created January 22, 2017 14:56
BetterCAP example UDP Proxy Module
class Example < BetterCap::Proxy::UDP::Module
meta(
'Name' => 'Example',
'Description' => 'Example UDP proxy module.',
'Version' => '1.0.0',
'Author' => "Simone 'evilsocket' Margaritelli",
'License' => 'GPL3'
)
# Received when the victim is sending data to the upstream server.

Keybase proof

I hereby claim:

  • I am evilsocket on github.
  • I am evilsocket (https://keybase.io/evilsocket) on keybase.
  • I have a public key whose fingerprint is E242 9918 770E 94AD 9412 BFDC E244 814B C591 3655

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am evilsocket on github.
  • I am evilsocket (https://keybase.io/evilsocket) on keybase.
  • I have a public key whose fingerprint is 7F1A D5FA 2A51 87DF DD53 DDA9 1564 D7F3 0393 A456

To claim this, I am signing this object:

@evilsocket
evilsocket / wp2swg.php
Created April 6, 2011 17:56
A script to import wordpress xml dumps to swg txt files
<?php
$source = 'wp.xml';
$siteurl = "http://www.evilsocket.net";
$doc = new DOMDocument();
$doc->load( $source );
$items = $doc->getElementsByTagName( "item" );
arp =
"? (192.168.1.117) at 00:92:d4:06:01:32 [ether] on enp2s0\n" +
"? (192.168.1.112) at <incomplete> on enp2s0\n" +
"? (192.168.1.127) at <incomplete> on enp2s0\n" +
"? (192.168.1.122) at <incomplete> on enp2s0\n" +
"? (192.168.1.121) at <incomplete> on enp2s0\n" +
"? (192.168.1.4) at <incomplete> on enp2s0\n" +
"? (192.168.1.3) at <incomplete> on enp2s0\n" +
"? (192.168.1.14) at <incomplete> on enp2s0\n" +
"? (192.168.1.13) at <incomplete> on enp2s0\n" +