This file contains 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 python2 | |
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford (jspenguin@jspenguin.org) | |
# The author disclaims copyright to this source code. | |
import sys | |
import struct | |
import socket | |
import time | |
import select |
This file contains 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
#Newbie programmer | |
def factorial(x): | |
if x == 0: | |
return 1 | |
else: | |
return x * factorial(x - 1) | |
print factorial(6) | |
#First year programmer, studied Pascal |
This file contains 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
File: extras\google\usb_driver\android_winusb.inf | |
Add: | |
;Coby MID-1125 | |
%SingleBootLoaderInterface% = USB_Install, USB\VID_18D1&PID_DEED | |
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_DEED | |
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_DEED | |
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_DEED&MI_01 | |
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_DEED&MI_01 |
This file contains 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
<?php | |
class A { | |
function x() { echo 'Ich bin Klasse A'; } | |
} |
This file contains 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/share/webmin/changepass.pl /etc/webmin root root |
This file contains 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
<?php | |
class DefaultController extends Controller | |
{ | |
/** | |
* Dashboard page. | |
* @Permissions(perm="dashboard_view") | |
* @Route("/", name="ITEDashboardBundle_index") | |
* @Template() | |
* @return array |
This file contains 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
# Enable compositing | |
gconftool-2 -s '/apps/metacity/general/compositing_manager' --type bool true |
This file contains 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/php5 | |
<?php | |
set_time_limit(0); | |
pcntl_signal(SIGTERM, 'sig_handler'); | |
$sock = socket_create(AF_INET, SOCK_STREAM, 0); | |
socket_bind($sock, 'localhost', 2828) or die('Could not bind to address'); | |
socket_listen($sock); |
This file contains 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
function colorOutput($text) { | |
$text = str_pad($text, 80, ' ', STR_PAD_RIGHT); | |
echo "\x1b[7m$text\x1b[0m"; | |
} |