Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Rob Fuller mubix

🎯
Focusing
View GitHub Profile
@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",
View simple-ui.min.js
self.CoinHive = self.CoinHive || {};
self.CoinHive.CONFIG = {
LIB_URL: "https://authedmine.com/lib/",
ASMJS_NAME: "worker-asmjs.min.js",
REQUIRES_AUTH: true,
WEBSOCKET_SHARDS: [
["wss://ws001.authedmine.com/proxy", "wss://ws002.authedmine.com/proxy", "wss://ws003.authedmine.com/proxy", "wss://ws004.authedmine.com/proxy", "wss://ws005.authedmine.com/proxy", "wss://ws006.authedmine.com/proxy", "wss://ws007.authedmine.com/proxy", "wss://ws029.authedmine.com/proxy"],
["wss://ws008.authedmine.com/proxy", "wss://ws009.authedmine.com/proxy", "wss://ws010.authedmine.com/proxy", "wss://ws011.authedmine.com/proxy", "wss://ws012.authedmine.com/proxy", "wss://ws013.authedmine.com/proxy", "wss://ws014.authedmine.com/proxy", "wss://ws030.authedmine.com/proxy"],
["wss://ws015.authedmine.com/proxy", "wss://ws016.authedmine.com/proxy", "wss://ws017.authedmine.com/proxy", "wss://ws018.authedmine.com/proxy", "wss://ws019.authedmine.com/proxy", "wss://ws020.authedmine.com/proxy", "wss://ws
You can’t perform that action at this time.