Skip to content

Instantly share code, notes, and snippets.

View CypherpunkSamurai's full-sized avatar
😶
Currently Busy 🌻🐢

Cypherpunk Samurai CypherpunkSamurai

😶
Currently Busy 🌻🐢
View GitHub Profile
@CypherpunkSamurai
CypherpunkSamurai / daz3d_manager.py
Last active May 27, 2024 20:19
DAZ3D API Client (Product Downloader)
import requests
DAZ3D_API = "http://hpcl.daz3d.com/"
HEADERS = {
"User-Agent": "DAZ Install Manager/1.4.1.69 (64-bit; Windows 64-bit; Windows 10, Build 19044, Workstation; en_IN)",
"Content-Type": "application/x-www-form-urlencoded"
}
@CypherpunkSamurai
CypherpunkSamurai / mumu.txt
Last active May 27, 2024 20:03
Mumu Emulator Latest API Url
https://api.mumuglobal.com/api/v1/download/nemux
User-Agent: WinHttpClient
# curl
curl -X POST https://api.mumuglobal.com/api/v1/download/nemux -H "User-Agent: WinHttpClient" -H "Accept: application/json" -H "Content-Type: application/x-www-form-urlencoded" -d "architecture=x86_64&channel=gw-overseas12&detectinfo=&downloader_version=3.1.7.0&has_installed=0&language=en&machine=%7B%22base_board%22%3A%20%22Manufacturer%3AIntelCorporationProduct%3A440BXDesktopReferencePlatform%22%2C%20%22cpu%22%3A%20%22Intel%20%20%20%20%20%20%20%20%20%22%2C%20%22hard_disk%22%3A%20%5B%22DRIVE_FIXED(C%3A%5C%5C)%3ATotal%20disk%20space%3A10.00GBFree%20disk%20space%3A10.00GB%22%2C%20%22DRIVE_CDROM(D%3A%5C%5C)%3A%22%5D%2C%20%22hyperv_opened%22%3A%200%2C%20%22ip%22%3A%20%22127.0.0.1%22%2C%20%22mac%22%3A%20%2200%3A00%3A00%3A00%3A00%3A00%22%2C%20%22memory%22%3A%202047%2C%20%22os%22%3A%20%22Windows%2010%2064-bit%20Kernel%2010.0.19044%22%2C%20%22screen%22%3A%20%7B%22height%22%3A%20878%2C%20%22width%22%3A%201918%7D%2C%20%22screen_list%22%3A
@CypherpunkSamurai
CypherpunkSamurai / readme.md
Last active May 26, 2024 10:17
Install Python Package from Local Index Using Pip Download

Torch CUDA Local Installer

To create a local index use:

pip download torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117 --no-cache-dir --no-binary :all:
# `--no-cache-dir --no-binary :all:` to resume incomplete download
@CypherpunkSamurai
CypherpunkSamurai / sample.md
Last active May 24, 2024 22:39 — forked from reanim8ed/sample.md
[Ansible through Windows Subsystem for Linux] #ansible

Bash on Ubuntu in Windows

  • Control Panel -> Programs and Features -> Turn Windows features on or off -> Check 'Windows Subsystem for Linux'. Windows will require a reboot.
  • Open Microsoft Store and seach for "linux", select Ubuntu and install. If store doesnt work, download manual install package: https://docs.microsoft.com/en-us/windows/wsl/install-manual
  • After install run in, you will need to create new user in linux installation

Installing Ansible

  • First update packages: sudo apt update
  • Install Pip: sudo apt-get -y install python3-pip python3-dev libffi-dev libssl-dev
  • Install Ansible: pip install ansible --user
  • Since the ansible commands are installed under ~/.local/bin, we need to add that to the $PATH, so run the command: echo 'PATH=$HOME/.local/bin:$PATH' >> ~/.bashrc
@CypherpunkSamurai
CypherpunkSamurai / vmwk17key.txt
Created May 15, 2024 19:21 — forked from PurpleVibe32/vmwk17key.txt
Free VMware Workstation Pro 17 full license keys
Install VMWare Workstation PRO 17 (Read it right. PRO!)
Also, these keys might also work with VMWare Fusion 13 PRO. Just tested it.
Sub to me on youtube pls - PurpleVibe32
if you want more keys - call my bot on telegram. @purector_bot (THE BOT WONT REPLY ANYMORE) - Or: https://cdn.discordapp.com/attachments/1040615179894935645/1074016373228978277/keys.zip - the password in the zip is 102me.
---
This gist can get off at any time.
PLEASE, DONT COPY THIS. IF YOU FORK IT, DONT EDIT IT.
*If you have a problem comment and people will try to help you!
*No virus
@CypherpunkSamurai
CypherpunkSamurai / OpenSSL Cheat Sheet.md
Last active May 8, 2024 16:52
OpenSSL Cheat Sheet

OpenSSL Cheat Sheet

Convert PEM to DER

openssl x509 -outform der -in certificate.pem -out certificate.der

Convert DER (.crt .cer .der) to PEM

# Portable Android Emulator Installer
# Environment Variables
Write-Host "Setting Environment Variables..."
$env:ANDROID_SDK_ROOT="$PWD"
$env:ANDROID_AVD_HOME="$PWD"
$env:ANDROID_HOME="$PWD"
$env:ANDROID_AVD_HOME="$PWD\avd"
New-Item -Path "$PWD\avd" -ItemType Directory -ErrorAction SilentlyContinue |Out-Null
$env:ANDROID_SDK_HOME="$PWD"
# Docker Compose File for Mitmproxy Web Interface
version: "3.7"
services:
mitmproxy:
image: mitmproxy/mitmproxy
container_name: mitmproxy
restart: unless-stopped
ports:
- 8080:8080
@CypherpunkSamurai
CypherpunkSamurai / python-cert-patcher.Dockerfile
Created April 22, 2024 09:59
Python SSL Certs Patching using Docker (for MITM)
# Python Dockerfile to Allow Mitm using Mitmproxy Proxy
FROM python:3.10 as python-mitm
# Install Openssl
RUN apt-get update -y && apt-get install -y openssl
# Install Python Packages
RUN pip install -q --upgrade certifi requests setuptools pip
# Get System Certs