Skip to content

Instantly share code, notes, and snippets.

View jpereira's full-sized avatar

Jorge Pereira jpereira

View GitHub Profile
@jpereira
jpereira / pulse-vpn-client-ubuntu1904.sh
Last active June 18, 2019 00:53
Pulse Linux Client for Ubuntu 19.04 (Stupid hack to SOLVE the http://www.pulsesecure.net/ INCOMPETENCE)
#!/bin/bash
# Author: Jorge Pereira <[email protected]>
# Date: Mon 17 Jun 2019 09:26:46 PM -03
#
# Desc: The script was created during a bad time. It is a terrible hack
# to SOLVE the http://www.pulsesecure.net/ developers INCOMPETENCE!!!!
# Due to a TERRIBLE version for Linux.
#
# Attention: DO NOT INSTALL THE SHARED *.deb PACKAGE. The debian scipts used for
# unistall have a bug that DELETE YOUR ENTIRE /usr/local/
@jpereira
jpereira / isc-dhcp2rlm_dhcp.c
Last active May 1, 2019 00:33
converting from the ISC-DHCP source code to the FreeRadius isc_dhcp format.
/**
* Author: Jorge Pereira <[email protected]>
* sex fev 22 14:55:15 -03 2019
*
* Dummy code used for get all ISC DHCP options and
* convert to the format expected by FreeRADIUS.
*
* Yes, That code is a trash. I don't care!
*/
#include <stdio.h>
1. Execute make first. This will result in a netlinkKernel.ko output among many others.
2. Execute $ gcc netlinkUser.c -o netlinkUser
3. Insert kernel module by :$ sudo insmod netlinkKernel.ko
4. Run ./netlinkUser to see message and run dmesg to see debug messages
5. Remove module by : $ sudo rmmod netlinkKernel
6. Finally make clean to remove output files.