tcpdump -r vagrant_up.pcap -w outfile.pcap "dst port 5150"
tshark -r vagrant_up.pcap -n -T fields -e ip.src -e tcp.srcport -e ip.dst -e tcp.dstport
tshark -r vagrant_up.pcap -T json > /tmp/output.json
jq '.|length' /tmp/output.json
jq '.[4000]' /tmp/output.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off& title RunAsTI - lean and mean snippet by AveYo, 2018-2022 | |
| goto :nfo | |
| [FEATURES] | |
| - innovative HKCU load, no need for reg load / unload ping-pong; programs get the user profile | |
| - sets ownership privileges, high priority, and explorer support; get System if TI unavailable | |
| - accepts special characters in paths for which default run as administrator fails | |
| - adds Send to - RunAsTI right-click menu entry to launch files and folders as TI via explorer | |
| [USAGE] | |
| - First copy-paste RunAsTI snippet after .bat script content | |
| - Then call it anywhere to launch programs with arguments as TI |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .Synopsis | |
| Decrypt an MTPuTTY configuration file | |
| .Description | |
| Read an MTPuTTY configuration file, decrypt the passwords and dump the result | |
| .Parameter ConfigFile | |
| Path to the MTPuTTY configuration file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nslookup -q=TXT o-o.myaddr.l.google.com. ns1.google.com. | |
| dig -4 TXT +short o-o.myaddr.l.google.com. @ns1.google.com. | |
| nslookup myip.opendns.com. resolver1.opendns.com. | |
| dig -4 A +short myip.opendns.com. @resolver1.opendns.com. | |
| nslookup whoami.akamai.net. ns1-1.akamaitech.net. | |
| dig -4 A +short whoami.akamai.net. @ns1-1.akamaitech.net. | |
| curl -s https://api.ipify.org |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| How to install windows on digital ocean, | |
| use this tutorial : | |
| https://milankragujevic.com/how-to-install-windows-10-on-digitalocean | |
| or if you want to create own image : | |
| https://glitchwitch.io/blog/2018-09/windows-10-on-digitalocean/ | |
| this image .gz mirror got from whatuptime : | |
| try first if it working>> | |
| [Microsoft Windows Server 2012] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Automatic ping of all AWS EC2 IPs from http://ec2-reachability.amazonaws.com/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| OBSOLETE: moved to Magisk + Magisk Trust User Certs module. | |
| Emulator setup with Magisk: https://gist.github.com/tothi/1a206791c8b77d7e42015183c980657e | |
| Magisk Trust User Certs module: https://github.com/NVISOsecurity/MagiskTrustUserCerts | |
| android emulator clean install + prepare for https proxy analysis | |
| ================================================================= | |
| # clean up old packages |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /interface list | |
| add comment=defconf name=WAN | |
| add comment=defconf name=LAN | |
| /interface list member | |
| add interface=ether1 list=WAN | |
| /ip firewall address-list | |
| add address=192.168.0.0/16 list=Bogon | |
| add address=10.0.0.0/8 list=Bogon |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Bulk DNS Lookup | |
| # Generates a CSV of DNS lookups from a list of domains. | |
| # | |
| # File name/path of domain list: | |
| domain_list='domains.txt' # One FQDN per line in file. | |
| # | |
| # IP address of the nameserver used for lookups: | |
| ns_ip='1.1.1.1' # Is using Cloudflare's 1.1.1.1. | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Remember, all of these commands need executed via Powershell that is started/opened with "Run As Administrator". | |
| # Disabling Hyper-V | |
| Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor | |
| # Enabling Hyper-V | |
| Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All |