Skip to content

Instantly share code, notes, and snippets.

View c3rb3ru5d3d53c's full-sized avatar
😇
Malware Hunter Killer

c3rb3ru5 c3rb3ru5d3d53c

😇
Malware Hunter Killer
View GitHub Profile
@usualsuspect
usualsuspect / knotweed_config_extractor.py
Last active February 5, 2023 18:36
Config extractor for Jumplump malware family from the Knotweed report
#!/usr/bin/env python3
#
# Author: @jaydinbas
#
# Extract config from Knotweed Jumplump samples
# Note: Not all samples tagged as 'Jumplump' in the MS report
# contain a config, some just load other samples that do
#
# Works for
# cbae79f66f724e0fe1705d6b5db3cc8a4e89f6bdf4c37004aa1d45eeab26e84b
@marcduiker
marcduiker / ffmpeg_video_for_twitter.md
Last active June 1, 2024 04:35
FFmpeg command for creating video for Twitter

Convert pngs to mp4

This FFmpeg command reads images named frame_[4 char digit].png and converts it to an mp4 using the h264 encoding which Twitter accepts. The bitrate is set to 5M to reduce blocking as much as possible while keeping the size small.

ffmpeg -framerate 10 -i frame_%04d.png -c:v h264_qsv -b:v 5M video.mp4

Convert and scale an existing mp4 to 1080:

ffmpeg -i input.mp4 -c:v h264_qsv -vf: scale=1080:-1 -b:v 5M output.mp4

@claytonrcarter
claytonrcarter / README.md
Last active April 27, 2024 04:09
Bash script to check GitLab pipeline status

A super simple bash script to check the status of a GitLab CI pipeline.

$ git push
...
$ git pipeline-status
Status of last pipeline for user/project on gitlab/master:
"pending"
...
$ git pipeline-status