Skip to content

Instantly share code, notes, and snippets.

View exentio's full-sized avatar
🤙
sheke

Exentio Kawasaki exentio

🤙
sheke
View GitHub Profile
@markasoftware
markasoftware / enterprise_token.rb
Last active September 2, 2025 16:04
OpenProject Enterprise mode for free
############ If you are using DOCKER all-in-one image, create Dockerfile like: ################
############ FROM openproject/openproject:16 ################
############ COPY ./enterprise_token.rb app/models/enterprise_token.rb ################
############ If you are runing a manual installation: ################
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ If using some other set up (eg docker-compose), read the comments on ################
############ https://gist.github.com/markasoftware/f5b2e55a2c2e3abb1f9eefcdf0bfff45 ################
@worawit
worawit / eternalblue7_exploit.py
Last active July 29, 2025 08:45
Eternalblue exploit for Windows 7/2008
#!/usr/bin/python
# This file has no update anymore. Please see https://github.com/worawit/MS17-010
from impacket import smb
from struct import pack
import sys
import socket
'''
EternalBlue exploit for Windows 7/2008 by sleepya
The exploit might FAIL and CRASH a target system (depended on what is overwritten)
@kulp
kulp / moveptr.c
Created October 5, 2011 15:04
Moves the mouse pointer between screens on an X11 display
/**
* @file
* @brief Moves the mouse pointer between screens on an X11 display.
*
* This program might be useful to you if you wish to switch between two X11
* screens without moving your hands from the keyboard. I configure bbkeys to
* map the otherwise-unused windows keys and right-click key to move to the left
* screen, move to the right screen, and toggle between screens, respectively.
*
* Run with zero to three arguments (additional arguments are ignored). The