git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
example: | |
PRI = 191 | |
To get the Facility | |
Divide the PRI number by 8. | |
191/8 = 23.875 | |
The whole number part is the facility. | |
To get the Severity |
#!/usr/bin/env python | |
import socket | |
import os | |
import struct | |
if getattr(socket, "NETLINK_CONNECTOR", None) is None: | |
socket.NETLINK_CONNECTOR = 11 | |
CN_IDX_PROC = 1 |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#define XLIM 17 | |
#define YLIM 9 | |
#define ARSZ (XLIM * YLIM) | |
#define DEBUG 0 |
// Put this in a separate .h file (called "getopt.h"). | |
// The prototype for the header file is: | |
/* | |
#ifndef GETOPT_H | |
#define GETOPT_H | |
int getopt(int nargc, char * const nargv[], const char *ostr) ; | |
#endif | |
*/ |
var request = require('request'); | |
var unzip = require('unzip'); | |
var csv2 = require('csv2'); | |
request.get('http://s3.amazonaws.com/alexa-static/top-1m.csv.zip') | |
.pipe(unzip.Parse()) | |
.on('entry', function (entry) { | |
entry.pipe(csv2()).on('data', console.log); | |
}) | |
; |
/*********************************************************************\ | |
MODULE NAME: b64.c | |
AUTHOR: Bob Trower 08/04/01 | |
PROJECT: Crypt Data Packaging | |
COPYRIGHT: Copyright (c) Trantor Standard Systems Inc., 2001 |
/* exec-notify, so you can watch your acrobat reader or vim executing "bash -c" | |
* commands ;-) | |
* Requires some 2.6.x Linux kernel with proc connector enabled. | |
* | |
* $ cc -Wall -ansi -pedantic -std=c99 exec-notify.c | |
* | |
* (C) 2007-2010 Sebastian Krahmer <krahmer@suse.de> original netlink handling | |
* stolen from an proc-connector example, copyright folows: | |
*/ | |
/* |
UserDB.txt URLs (use your own flavor): | |
http://www.sysreveal.com/tag/userdb-txt/ | |
http://handlers.sans.org/jclausing/userdb.txt | |
https://github.com/cuckoobox/cuckoo/blob/master/data/peutils/UserDB.TXT | |
http://research.pandasecurity.com/blogs/images/userdb.txt |