Skip to content

Instantly share code, notes, and snippets.

View nirinium's full-sized avatar
👋
Grinding

nirinium nirinium

👋
Grinding
  • NiriniumLabs
  • Louisville, KY
View GitHub Profile
@nirinium
nirinium / threaded_download.py
Created February 20, 2018 18:06 — forked from chandlerprall/threaded_download.py
Small Python multi-threaded file downloader
import urllib2
import threading
from Queue import Queue
import sys, os, re
class ThreadedDownload(object):
REGEX = {
'hostname_strip':re.compile('.*\..*?/', re.I)
}
import os, sys, lxml, re, ssl, time
from bs4 import BeautifulSoup, SoupStrainer
from urllib.request import urlopen, urlretrieve, urljoin, URLError, HTTPError
def progressDL(count, blockSize, totalSize):
percent = int(count*blockSize*100/totalSize) #FORMULA TO CALCULATE DOWNLOAD PROGRESS
sys.stdout.write("\r" + "...%d%% " % percent) #PRINTS PROGRESS TO CONSOLE
sys.stdout.flush() #WRITES EVERYTHING TO TERMINAL
try:
import os, sys, lxml, re, ssl, time
from bs4 import BeautifulSoup, SoupStrainer
from urllib.request import urlopen, urlretrieve, urljoin, URLError, HTTPError
def progressDL(count, blockSize, totalSize):
percent = int(count*blockSize*100/totalSize)
sys.stdout.write("\r" + "...%d%% " % percent)
sys.stdout.flush()
try:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using System.Windows.Forms;
using System.Diagnostics;
using System.Drawing;
using System.Runtime.InteropServices;
luaRegister=0x00CA3890;
function debugger_onBreakpoint()
if (EIP == luaRegister) then
nameAddr=readInteger(ESP+4)
nombre=readString(nameAddr,200,false)
funcAddr=readInteger(ESP+8)
valor=readInteger(ESP+12)
CheatEngine LUA Script
MakeNameEx(0x1316F90, "GetEventManager_lua", SN_NOCHECK | SN_NOWARN);
MakeNameEx(0xA37F50, "ConfirmOpenURL_lua", SN_NOCHECK | SN_NOWARN);
MakeNameEx(0xA38160, "GetUnitLevel_lua", SN_NOCHECK | SN_NOWARN);
MakeNameEx(0xA383B0, "GetMaxBindingsPerAction_lua", SN_NOCHECK | SN_NOWARN);
MakeNameEx(0xA384E0, "GetActionBindingInfo_lua", SN_NOCHECK | SN_NOWARN);
MakeNameEx(0xA38C90, "PushActionLayerByName_lua", SN_NOCHECK | SN_NOWARN);
MakeNameEx(0xA38EE0, "RemoveActionLayerByName_lua", SN_NOCHECK | SN_NOWARN);
@echo off
title Activate Windows 10 ALL versions for FREE!&cls&echo ============================================================================&echo #Project: Activating Microsoft software products for FREE without software&echo ============================================================================&echo.&echo #Supported products:&echo - Windows 10 Home&echo - Windows 10 Home N&echo - Windows 10 Home Single Language&echo - Windows 10 Home Country Specific&echo - Windows 10 Professional&echo - Windows 10 Professional N&echo - Windows 10 Education N&echo - Windows 10 Education N&echo - Windows 10 Enterprise&echo - Windows 10 Enterprise N&echo - Windows 10 Enterprise LTSB&echo - Windows 10 Enterprise LTSB N&echo.&echo.&echo ============================================================================&echo Activating your Windows...&cscript //nologo slmgr.vbs /upk >nul&cscript //nologo slmgr.vbs /cpky >nul&wmic os | findstr /I "enterprise" >nul
if %errorlevel% EQU 0 (cscript //nologo slmgr.vbs /ipk NPPR9-FWD
@echo off
title Activate Windows 10 ALL versions for FREE!&cls&echo ============================================================================&echo #Project: Activating Microsoft software products for FREE without software&echo ============================================================================&echo.&echo #Supported products:&echo - Windows 10 Home&echo - Windows 10 Home N&echo - Windows 10 Home Single Language&echo - Windows 10 Home Country Specific&echo - Windows 10 Professional&echo - Windows 10 Professional N&echo - Windows 10 Education N&echo - Windows 10 Education N&echo - Windows 10 Enterprise&echo - Windows 10 Enterprise N&echo - Windows 10 Enterprise LTSB&echo - Windows 10 Enterprise LTSB N&echo.&echo.&echo ============================================================================&echo Activating your Windows...&cscript //nologo slmgr.vbs /upk >nul&cscript //nologo slmgr.vbs /cpky >nul&wmic os | findstr /I "enterprise" >nul
if %errorlevel% EQU 0 (cscript //nologo slmgr.vbs /ipk NPPR9-FWD
# -*- coding: utf-8 -*-
"""
"""
####NOTE THAT THE GAME HAS TO BE SET NOT TO USE RAW MOUSE INPUT
#Imports*****************
import win32api
import win32con
import time
dir .\ -Recurse | Unblock-File