Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Rob Fuller mubix

🎯
Focusing
View GitHub Profile
@mubix
mubix / .screenrc
Created Dec 30, 2020
Hak5 PES0E5 Pentest / Red Team Audit Logging ScreenRC File
View .screenrc
defshell -bash
startup_message off
multiuser on
defscrollback 10000
logfile /opt/logs/$USER-screenlog.%H.%n.%Y%m%d-%0c:%s.%t.log
logfile flush 5
logtstamp on
deflog on
defmonitor on
caption always "%{= gk}%-Lw%{= bW}%50> %n%f* %t %{-}%+Lw%< %= %{= rk} %H %l %{= gk} %0c:%s %{-}"
@mubix
mubix / Get-CSharp.ps1
Created Nov 30, 2020
Powershell Get-CSharp
View Get-CSharp.ps1
function Get-CSharpProcess {
$proclist = Get-Process
foreach($proc in $proclist) {
foreach($mod in $proc.Modules)
{
if($mod.ModuleName -imatch "mscoree")
{
Write-Output(".NET Found in:`t" + $proc.Name)
}
}
@mubix
mubix / areyouateapot.rb
Last active Jun 11, 2020
You are a teapot
View areyouateapot.rb
#!/usr/bin/env ruby
require 'sinatra'
set :environment, :production
set :bin, '0.0.0.0'
get '/' do
status 418
body '<body style="background-color:black;"><center><img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAkGBwgHBgkICAgKCgkLDhcPDg0NDhwUFREXIh4jIyEeICAlKjUtJScyKCAgLj8vMjc5PDw8JC1CRkE6RjU7PDn/2wBDAQoKCg4MDhsPDxs5JiAmOTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTk5OTn/wgARCAJYAu4DAREAAhEBAxEB/8QAHAABAAIDAQEBAAAAAAAAAAAAAAMEAQIFBgcI/8QAGQEBAQEBAQEAAAAAAAAAAAAAAAECAwQF/9oADAMBAAIQAxAAAAD4aAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADrHowAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwfPgAAAAAAAD3JZzr00vS3N7MkScrN0xdl6O89PcxLAQmCJK3Ow89KWaSzEtkMYN9LGszaWTY52dVMagiKzmVGnSI655OdhbeN6Y3Bi6FOIN55/TnKz0CXU3lkWVnK183BizRR3OmbnScmJjm4tXncmxWVZ2+uehqFqRSjQ+SgAAAAAAAHuTv519Dq90mIHG5uRnW0WV7fXF7c2iE
@mubix
mubix / GetProcessList.cs
Created Jan 17, 2020
Get a process listing with the command line arguments
View GetProcessList.cs
using System;
using System.Linq;
using System.Diagnostics;
using System.Management;
namespace GetProcessList
{
public static class Program
{
static void Main(string[] args)
@mubix
mubix / htb-links.md
Last active Sep 2, 2020
Hack the Box Repositories - Github Repositories that I have found useful during HTB challenges, Pro Labs etc
View htb-links.md
@mubix
mubix / lan.dev.txt
Created Nov 30, 2019
lan.dev SMB Connections
View lan.dev.txt
1 20110125032
1 guest
2 travel
4 Dung Trang
6 AUTHORITY\NETWORK
6 STEP-PC\soft
9 GERRARD
10 dd
11 STYG\chukoubu
12 administrator
@mubix
mubix / nosuchuser.html
Created Jul 12, 2019
No Such User - Spam Deterrent
View nosuchuser.html
<html>
<head>
<style>
* {
font-family:Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
</style>
</head>
<body>
<table cellpadding="0" cellspacing="0" class="email-wrapper" style="padding-top:32px;background-color:#ffffff;"><tbody>
View threaded_smb_brute.rb
#!/usr/bin/env ruby
require 'ruby_smb'
require 'thread'
class ThreadPool
def initialize(size)
@size = size
@jobs = Queue.new
@pool = Array.new(@size) do |i|
View foxyproxy.json
{
"mode": "patterns",
"proxySettings": [
{
"address": "127.0.0.1",
"port": 8080,
"username": "",
"password": "",
"type": 1,
"title": "127.0.0.1:8080",
View foxyproxy.json
{
"mode": "patterns",
"proxySettings": [
{
"address": "127.0.0.1",
"port": 8080,
"username": "",
"password": "",
"type": 1,
"title": "127.0.0.1:8080",