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
from rounds import round_map | |
from prime_index_map import prime_map | |
import struct | |
import binascii | |
out = "" | |
for lround in round_map: | |
i = 0 | |
val = 1 | |
while i < len(lround): |
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
roundMapEa = 0x5004 | |
currentRnd = 0 | |
out = [] | |
while currentRnd < 23: | |
roundEa = Dword(roundMapEa + 4 * currentRnd) | |
i = 0 | |
round_list = [] | |
while i < 3476: | |
round_list.append(Word(roundEa)) |
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 os | |
import sys | |
import time | |
import shutil | |
import tempfile | |
import subprocess | |
def log(msg): | |
sys.stdout.write("[+] %s\n" % msg) | |
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 (disables signature requirements) | |
sudo nvram boot-args=kext-dev-mode=1 | |
Disable (enables signature checks - normal mode) | |
sudo nvram -d boot-args |
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
download all files recursively from an apache hosted url - starting at the file specified | |
wget -r -np -nH –cut-dirs=3 -R index.html http://hostname/aaa/bbb/ccc/ddd/ |
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
Steps to access XENServer from XENCenter on a different subnet | |
[+] On the Router | |
1) Port forward on the router (virtual servers) ports 443, 22, 80, 5900-6000 | |
2) setup DMZ on the router with the subnet address of your xenserver | |
[+] On the Xenserver | |
3) edit this file /opt/xensource/libexec/qemu-dm-wrapper | |
- after the line "qemu_args = ['qemu-dm-%d'%domid] + argv[2:]" | |
- add "qemu_args.append("-vnc")" |
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
_R1 = v4; | |
_R0 = (int)dword_BC70; | |
__asm | |
{ | |
VLD1.64 {D16-D17}, [R0@128] | |
VMOV.F64 D18, D16 | |
VMOV R0, R1, D18 | |
VMOV.F64 D18, D17 | |
VMOV R2, R3, D18 | |
} |
NewerOlder