This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys, binascii, struct | |
def main(argv=None): | |
for offset in [0x200, 0x10100, 0x20100, 0x30100, 0x40100, 0x50100, 0x60100, 0x70100, 0x80100, 0x90100]: | |
f=open(sys.argv[1], 'rb') | |
extract_httpd_resource_files(offset,f) | |
for offset in [0x95a15, 0xdd485]: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <stdio.h> | |
void main(int argc, char *argv[]) | |
{ | |
if( argv[1][0] == 'f' ) { | |
if( argv[1][1] == 'o' ) { | |
if( argv[1][2] == 'o' ) { | |
if( argv[1][3] == '\x00' ) { | |
printf( "good password\n" ); |
NewerOlder