Environment: Windows 7 SP1 x86
- Start a Visual Studio Command Prompt
- Install unicorn
pip install unicorn
- Install capstone from http://www.capstone-engine.org/download.html Python module for Windows - Binaries
- Install angr
pip install angr
Environment: Windows 7 SP1 x86
pip install unicorn
pip install angr
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
void genMatrix(char mat[5][5], char str[]) { | |
for (int i = 0; i < 25; i++) { | |
int m = (i * 2) % 25; | |
int f = (i * 7) % 25; | |
mat[m/5][m%5] = str[f]; | |
} |
#!/usr/bin/sh | |
echo "[+] Checking for updates..." | |
path_bases_cav="/c/Program Files/COMODO/COMODO Internet Security/scanners/bases.cav" | |
update_url="http://cdn.download.comodo.com/av/updates58/sigs/bases/bases.cav" | |
hash_check () { | |
# Download first 256 bytes (after header) of remote stream | |
tmp_first_256_remote=`mktemp` |
Prevent creation of vmmem files in VMware (Windows)
VMWare creates .vmem
files to back the guest RAM. On the host this causes disk thrashing especially during powering on and off the guest.
Add the following lines to the .vmx
file to prevent creation of .vmem
files. This will reduce disk IO and VM performance will improve especially on non-SSD disks.
def get_video_url(url): | |
videos = [] | |
params = [] | |
addon_log(url) | |
xbmc.log(url, level=xbmc.LOGWARNING) | |
quality = (Addon.getSetting('qualityType')).lower() | |
resp = api_hotstar_request(url, auth=True) | |
manifest1 = resp['body']['results']['item']['playbackUrl'] | |
addon_log('manifest1 is, '+manifest1) |