Skip to content

Instantly share code, notes, and snippets.

View tuantmb's full-sized avatar
😹

Tuan T tuantmb

😹
  • Vietnam
View GitHub Profile
@tuantmb
tuantmb / ClassUtils.java
Created July 7, 2022 06:58 — forked from JimmyFrix/ClassUtils.java
A utility class for loading and listing classes from a package.
package org.odysseus.util;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
/**
* A utility class for classes.
*
* @author Jimmy Frix
@tuantmb
tuantmb / localgroupmembershipchanges.kql
Created July 2, 2022 10:12 — forked from alexverboon/localgroupmembershipchanges.kql
Hunting for local group membership changes
let ADAZUsers = IdentityInfo
| extend DirectoryDomain = AccountDomain
| extend DirectoryAccount = AccountName
| distinct DirectoryDomain , DirectoryAccount , OnPremSid , CloudSid, AccountUpn, GivenName, Surname;
// check for any new created or modified local accounts
let NewUsers = DeviceEvents
| where ActionType contains "UserAccountCreated" // or ActionType contains "UserAccountModified"
| extend lUserAdded = AccountName
| extend NewUserSID = AccountSid
| extend laccountdomain = AccountDomain
@tuantmb
tuantmb / feedly.opml
Created July 2, 2022 03:31 — forked from breakersall/feedly.opml
Feedly Security Feed
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Matt subscriptions in feedly Cloud</title>
</head>
<body>
<outline text="RedTeaming" title="RedTeaming">
<outline type="rss" text="Strategic Cyber LLC" title="Strategic Cyber LLC" xmlUrl="http://blog.strategiccyber.com/feed/" htmlUrl="https://blog.cobaltstrike.com"/>
<outline type="rss" text="Silent Break Security" title="Silent Break Security" xmlUrl="http://silentbreaksecurity.com/feed/" htmlUrl="https://silentbreaksecurity.com"/>
@tuantmb
tuantmb / SimpleHTTPServerWithUpload.py
Created June 18, 2022 04:11 — forked from 591342534/SimpleHTTPServerWithUpload.py
Simple Python Http Server with Upload
#!/usr/bin/env python
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
"""
@tuantmb
tuantmb / list_gcp_iprange.sh
Created June 7, 2022 07:07 — forked from n0531m/list_gcp_iprange.sh
Google Cloud Platform : ip address range
#!/bin/bash
# https://cloud.google.com/compute/docs/faq#find_ip_range
# nslookup -q=TXT _cloud-netblocks.googleusercontent.com 8.8.8.8
myarray=()
for LINE in `dig txt _cloud-netblocks.googleusercontent.com +short | tr " " "\n" | grep include | cut -f 2 -d :`
do
myarray+=($LINE)
for LINE2 in `dig txt $LINE +short | tr " " "\n" | grep include | cut -f 2 -d :`
@tuantmb
tuantmb / resources.md
Created April 16, 2022 01:46 — forked from muff-in/resources.md
A curated list of Assembly Language / Reversing / Malware Analysis / Game Hacking-resources
@tuantmb
tuantmb / blogs.txt
Created March 1, 2022 01:16 — forked from albertzsigovits/blogs.txt
Security research blogs
# Security research blogs:
##########################
Akamai https://blogs.akamai.com
AlienVault https://www.alienvault.com/blogs/labs-research
Arbor https://asert.arbornetworks.com
AVAST https://blog.avast.com/topic/threat-research
Avira https://blog.avira.com/research
BAE Systems https://baesystemsai.blogspot.com
BitDefender https://labs.bitdefender.com
@tuantmb
tuantmb / BUILDING-RDM.md
Created February 24, 2022 09:06 — forked from ayan4m1/BUILDING-RDM.md
How to build Redis Desktop Manager - https://github.com/uglide/RedisDesktopManager

Redis Desktop Manager for Windows

Yes, it's been done already. No, it's still not particularly easy. You do not need to use either Qt Creator or VS2015.

I am building on information found here, here, and here. Thanks to these folks and the contributors to RDM.

With this document, I sought to "trim the fat" from these other guides and prove that VS2015 itself was not in fact necessary - just its tooling.

Prerequisites

#!/usr/bin/python3
import requests
#import uuid
import logging
import urllib3
import time
import sys
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
logging.basicConfig(level=logging.INFO)