Skip to content

Instantly share code, notes, and snippets.

<style>
body
{
min-width:300px;
overflow-x:hidden;
}
p
{
border:#ddd thin solid;
background-color:#eee;
global _start
_start:
jmp short getWinExec
callProc:
pop ebx
xor eax,eax
push eax
mov [ebx+40],al
push ebx
mov eax,0x7c8623ad ;WinExec
char shellcode[] = "INSERT SHELLCODE HERE!";
int main(int argc,char argv)
{
int (*f)();
f = (int (*)())shellcode;
(int)(*f)();
}
[SECTION .text]
global _start
_start:
jmp short getData
execIt:
pop ebx ;Get the string off stack
xor eax,eax ;Clear eax
mov [ebx+8],al ;This helps us to avoid having a zero byte in our code.
;It sets the terminator to the string.
push eax ;Second argument for WinExec
@AVGP
AVGP / Liste.h
Created September 29, 2010 12:28
#include "ListenElement.h"
class Liste
{
public:
Liste()
{
head = NULL;
size = 0;
}
#include <cmath>
#include "ListenElement2.h"
class Liste
{
public:
Liste()
{
head = NULL;
tail = NULL;
@AVGP
AVGP / LineDemo
Created February 5, 2011 01:00
A dotted line
;
; Zeichnet 80 Pixel in einer gepunkteten Linie
; Die Linie besteht aus 10 Segmenten a 8 Pixeln.
;
#include "../ti83plus.inc"
.db $BB,$6D
.org 9D95h
.db t2ByteTok
ld a,10 ;Zähler
ld b,0 ;Koordinate
@AVGP
AVGP / hello.asm
Created February 5, 2011 17:10
Hello, TI 83+!
#include "../ti83plus.inc"
.db $BB,$6D
.org 9D95h
.db t2ByteTok
ld hl,txtHello
bcall(_puts)
ret
txtHello:
.db "Hello TI",0
.end
@AVGP
AVGP / WebShell echo.php
Created March 12, 2011 15:02
The echo-App for the JS-Webshell
<?php
class echoApplication extends App
{
function run()
{
parent::run();
$data = $this->params;
$this->outputResults($data,$_GET['environment']);
}
}
# gem sources -u
ERROR: http://gems.rubyforge.org/ does not appear to be a repository
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
bad response Found 302 (http://gems.rubyforge.org/yaml)