Skip to content

Instantly share code, notes, and snippets.

Avatar

Vitalii Chernookyi vitalyvch

View GitHub Profile
View Petya_ransomware.md

#petya #petrWrap #notPetya

Win32/Diskcoder.Petya.C

Ransomware attack.

About

This gist was built by the community of the researchers and was scribed by Kir and Igor from the QIWI/Vulners. We are grateful for the help of all those who sent us the data, links and information. Together we can make this world a better place!

Gist updates

@soleblaze
soleblaze / gist:975bc2b0e5e69137fd08
Last active Aug 21, 2017
/etc/X11/xorg.conf.d/50-synaptics.conf
View gist:975bc2b0e5e69137fd08
Section "InputClass"
Identifier "touchpad"
Driver "synaptics"
MatchIsTouchpad "on"
# Enables Palm Detection to prevent bad clicks
# This seems to work on PS/2, but not on i2c
Option "PalmDetect" "1"
Option "PalmMinWidth" "8"
Option "PalmMinZ" "100"
# Enable clickpad support
@yagihiro
yagihiro / sample.c
Last active Mar 31, 2021
workqueue sample on linux kernel
View sample.c
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/workqueue.h>
static void mykmod_work_handler(struct work_struct *w);
static struct workqueue_struct *wq = 0;
static DECLARE_DELAYED_WORK(mykmod_work, mykmod_work_handler);
static unsigned long onesec;