Version | [HKCU/HKLM]\Software\ |
---|---|
D4 | Borland\Delphi\4.0 |
D5 | Borland\Delphi\5.0 |
D6 | Borland\Delphi\6.0 |
D7 | Borland\Delphi\7.0 |
D2005 | Borland\BDS\3.0 |
D2006 | Borland\BDS\4.0 |
D2007 | Borland\BDS\5.0 |
D2009 | CodeGear\BDS\6.0 |
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
type | |
MemAlign<T> = record | |
private | |
First: Byte; | |
Second: T; | |
public | |
class function Get(): Cardinal; static; inline; | |
end; | |
const |
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 off | |
setlocal | |
cd /d %~dp0 | |
start javaw -Xms128m -Xmx1024m -jar NAME.jar %* | |
endlocal |
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
:: OpenSSL | |
openssl s_client -connect smtp.gmail.com:587 -starttls smtp | |
openssl s_client -connect smtp.gmail.com:465 | |
openssl s_client -connect smtp.yandex.ru:465 | |
:: SSLyze | |
sslyze_cli.exe --tlsv1 --tlsv1_1 --tlsv1_2 --sslv2 --sslv3 --hide_rejected_ciphers --starttls=smtp smtp.gmail.com:587 | |
sslyze_cli.exe --tlsv1 --tlsv1_1 --tlsv1_2 --sslv2 --sslv3 --hide_rejected_ciphers smtp.gmail.com:465 | |
sslyze_cli.exe --tlsv1 --tlsv1_1 --tlsv1_2 --sslv2 --sslv3 --hide_rejected_ciphers smtp.yandex.ru:465 |
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 | |
$filename = $_GET['file']; | |
$downloadRate = isset($_GET['speed']) ? intval($_GET['speed']) : 500; // KB/s | |
if (file_exists($filename) && is_file($filename)) | |
{ | |
header('Cache-control: private'); | |
header('Content-Type: application/x-shockwave-flash'); | |
header('Content-Length: '.filesize($filename)); |
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
:: or %ProgramFiles(x86)% | |
set _SDK71PATH_=%ProgramFiles%\Microsoft SDKs\Windows\7.1A | |
set PATH=%_SDK71PATH_%\Bin;%PATH% | |
set INCLUDE=%_SDK71PATH_%\Include;%INCLUDE% | |
set LIB=%_SDK71PATH_%\Lib;%LIB% | |
set CL=/D_USING_V110_SDK71_ %CL% | |
set LINK=/SUBSYSTEM:CONSOLE,5.01 %LINK% |
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
import sys | |
import base64 | |
import hashlib | |
// Alternative to: >ssh-keygen -E md5 -l -f id_rsa.pub | |
md5 = hashlib.md5() | |
md5.update(base64.b64decode(open('id_rsa.pub').read().split()[1])) | |
digest = md5.digest() | |
print (":".join("{:02x}".format(c) for c in digest)) |
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
set APP_NAME=Opera 12 for Safe Browsing | |
set APP_PATH=%UserProfile%\AppData\LocalLow\Opera 12 for Safe Browsing\opera.exe | |
set PORT=11011 | |
netsh advfirewall firewall add rule name="%APP_NAME% (TCP-Out) Block All" dir=out action=block program="%APP_PATH%" protocol=tcp | |
netsh advfirewall firewall add rule name="%APP_NAME% (UDP-Out) Block All" dir=out action=block program="%APP_PATH%" protocol=udp | |
netsh advfirewall firewall add rule name="%APP_NAME% (TCP-Out)" dir=out action=allow program="%APP_PATH%" remoteip=127.0.0.1 remoteport=%PORT% protocol=tcp | |
netsh advfirewall firewall add rule name="%APP_NAME% (UDP-Out)" dir=out action=allow program="%APP_PATH%" remoteip=127.0.0.1 remoteport=%PORT% protocol=udp |
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
:: Contact: ruzzzua@gmail.com | |
:: Version: 2015.08.25 | |
:: Dependencies: Android Debug Bridge (adb), IDA | |
@echo off | |
set path="c:\Program Files\Android\android-sdk\platform-tools\";%path% | |
set port=23946 | |
adb push android_server /system/xbin/android_server | |
adb shell chmod 06755 /system/xbin/android_server |
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
:: Contact: ruzzzua@gmail.com | |
:: Version: 2015.08.17 | |
:: Dependencies: Android Debug Bridge (adb) | |
@echo off | |
set path="c:\Program Files\Android\android-sdk\platform-tools\";%path% | |
set abi=arm | |
:: adb remount | |
:: adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system |