Skip to content

Instantly share code, notes, and snippets.

View gormih's full-sized avatar
🧸
bear

Michael Alexeevich gormih

🧸
bear
View GitHub Profile
@gormih
gormih / MobSF REST API Python.py
Created October 8, 2019 14:06 — forked from ajinabraham/MobSF REST API Python.py
MOBSF REST API Python Requests Example
"""
MOBSF REST API Python Requests
"""
import json
import requests
from requests_toolbelt.multipart.encoder import MultipartEncoder
SERVER = "http://127.0.0.1:8000"
FILE = 'SAP/diva-beta.apk'
@gormih
gormih / img-sound-to-video.sh
Created January 10, 2021 17:06 — forked from orjanv/img-sound-to-video.sh
Use ffmpeg to create a video of a picture and a sound file
ffmpeg -loop 1 -i image.jpg -i audio.wav -c:v libx264 -tune stillimage -c:a aac -strict experimental -b:a 192k -pix_fmt yuv420p -shortest out.mp4
@gormih
gormih / python_logging_sqlite_handler.py
Last active January 20, 2022 08:45 — forked from giumas/Logging - SQLite handler
A minimal SQLite handler for the python logging module
import sqlite3
import logging
import time
__version__ = "0.2.0"
initial_sql = """CREATE TABLE IF NOT EXISTS log(
TimeStamp TEXT,
Source TEXT,