This file contains hidden or 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
#!/usr/bin/env python3 | |
# do you wanna be a productive human? | |
# sugar grass with shining sunrise in your garden? | |
# @github.com/motebaya - 2024-06-16 23:16:23.729592300 +0700 | |
import calendar, subprocess, time, random, sys, string | |
from datetime import datetime | |
from concurrent.futures import ThreadPoolExecutor, as_completed | |
import threading |
This file contains hidden or 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
#!/usr/bin/env python3 | |
# 10.10.2024 - python module version check | |
# © @github.com/motebaya | |
from typing import Any, Dict | |
import importlib.metadata | |
import requests, subprocess, sys | |
class ModuleManager: | |
This file contains hidden or 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 ghidra.app.decompiler import DecompInterface | |
from ghidra.util.task import ConsoleTaskMonitor | |
import os | |
output_folder = "E:/reversing/output" # set output decompiled | |
if not os.path.exists(output_folder): | |
os.makedirs(output_folder) | |
decomp_interface = DecompInterface() | |
decomp_interface.openProgram(currentProgram) |
This file contains hidden or 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
#!/usr/bin/ruby | |
require 'logger' | |
class Logging | |
def initialize(progname:, level: Logger::INFO) | |
@logger = Logger.new($stdout, progname: progname) | |
@logger.level = level | |
end |
This file contains hidden or 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
#!/usr/bin/python3 | |
# @github.com/motebaya - 2023.06.3 08:42:53 AM | |
# file: __logger__ | |
import logging | |
from colorama.ansi import Fore | |
from typing import Union, Type | |
logging.addLevelName(logging.WARNING, f"{Fore.YELLOW}warning{Fore.RESET}") | |
logging.addLevelName(logging.DEBUG, f"{Fore.GREEN}debug{Fore.RESET}") |
This file contains hidden or 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
#!/usr/bin/python3 | |
# emailnator.com api wrapper - 01/06/2024 | |
# @github.com/motebaya | |
from httpx import AsyncClient | |
from urllib.parse import urlparse, unquote | |
from typing import Dict, Any, Union, List | |
from colorama.ansi import Fore as col | |
import json | |
class Emailnator: |
This file contains hidden or 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
// ==UserScript== | |
// @name remove ads detection ele | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-08-04 | |
// @description remove modal from plugin: https://wordpress.org/plugins/chp-ads-block-detector/ | |
// @author Lorem ipsum kolor si slamet | |
// @match *://<domain here>/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=<domain here> | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or 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
nuitka --mingw64 --standalone --output-dir=output --show-progress --show-memory --windows-company-name=Windows --windows-product-name=Windows --windows-file-version=1.0.0 --windows-product-version=1.0.0 --onefile --include-module=calculation --follow-imports revenue.py --output-filename=revenue.exe --remove-output |
This file contains hidden or 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
#!/usr/bin/bash | |
track_pid() { | |
ps_output=$(ps aux | grep programname | head -1) | |
while IFS= read -r line; do | |
if [[ $line == *"php7.4"* ]]; then | |
pid=$(echo "$line" | awk '{print $2}') | |
echo "[OK] Found PHP process with PID: $pid" | |
# sleep 1 | |
gdb -p "$pid" -x "command.txt" |
This file contains hidden or 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
#!/usr/bin/python3.11 | |
# it help me for RE, @github.com/motebaya | |
# useless tool :) tools 17.04.2024 | |
from typing import Dict | |
from xdis import magics | |
import re, os, types, marshal, argparse | |
class Asmtool: | |
def __init__(self) -> None: |