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
| <?php | |
| /* | |
| VTY - Database Manager For Mysql | |
| ............................................................................ | |
| : Version : 1.6 (18.04.2007) : | |
| : Language : English, Turkce, Italian, Spanish : | |
| : URL : http://www.kutukutu.com/vty/ : | |
| : Mail : [email protected] : |
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
| # -*- coding: utf-8 -*- | |
| import base | |
| class Host( base.BaseHost ): | |
| short_key = 'ba' | |
| long_key = 'bayimg' | |
| host='bayimg.com' | |
| action = 'http://upload.%s/upload'%host | |
| form = { | |
| 'code':'666', | |
| 'tags':'guimge', |
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
| local _class={} | |
| function class(super) | |
| local class_type={} | |
| class_type.ctor=false | |
| class_type.super=super | |
| class_type.new=function(...) | |
| local obj={} | |
| do | |
| local create |
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
| -- cothread.lua | |
| local co = coroutine | |
| local error = error | |
| local setmetatable = setmetatable | |
| local unpack = unpack | |
| local assert = assert | |
| local type = type | |
| local pairs = pairs | |
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
| require "socket" | |
| function download (host, file, port) | |
| port = port or 80 | |
| print (host, file, port) | |
| local connectStatus, myConnection = pcall (socket.connect,host,port) | |
| if (connectStatus) then | |
| myConnection:settimeout(0.01) -- do not block you can play with this value | |
| local count = 0 -- counts number of bytes read | |
| -- May be easier to do this LuaSocket's HTTP functions |
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
| pcall(require,"socket") | |
| Scheduler = setmetatable({}, { | |
| __call = function(class) | |
| return setmetatable({ | |
| threads = {}, | |
| }, class) | |
| end | |
| }) | |
| Scheduler.__index = Scheduler |
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
| # Original code by Dan Brotherston | |
| import sys | |
| import mmap | |
| import struct | |
| import win32event | |
| import thread | |
| import time | |
| def OutputDebug(threadName, delay): | |
| buffer_ready = win32event.CreateEvent(None, 0, 0, "DBWIN_BUFFER_READY") |
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
| TCHAR bufferWill[512]; | |
| _stprintf(bufferWill, TEXT(" ## [%s] BEGIN ##L%d\n"), __FUNCTION__, | |
| ,__LINE__); | |
| ::OutputDebugString(bufferWill); | |
| // OLE2W(message) | |
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 time | |
| import sys | |
| import os | |
| import json | |
| from flask import Flask, Request, Response | |
| from werkzeug.routing import BaseConverter | |
| import urllib2 |
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
| from flask import Flask | |
| import platform | |
| from flask import Request, Response | |
| from werkzeug.routing import BaseConverter | |
| import time | |
| import sys | |
| import json | |
| import urllib2 |