This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
unless Vagrant.has_plugin?("vagrant-disksize") |
This file contains 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
::########################################################################################################################## | |
:: | |
:: This script can ruin your day, if you run it without fully understanding what it does, you don't know what you are doing, | |
:: | |
:: OR BOTH!!! | |
:: | |
:: YOU HAVE BEEN WARNED!!!!!!!!!! | |
:: | |
:: This script is provided "AS IS" with no warranties, and confers no rights. | |
:: Feel free to challenge me, disagree with me, or tell me I'm completely nuts in the comments section, |
This file contains 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
set LogLevel 5 | |
set ConsoleLogging true | |
set SessionLogging true | |
set TimestampOutput true | |
features set dns_feature true | |
features set postgres_session_type true | |
features set mssql_session_type true | |
features set mysql_session_type true | |
features set wrapped_tables true | |
features set fully_interactive_shells true |
This file contains 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
syntax on | |
set nomodeline | |
"set backup | |
"set backupdir=~/.vim/backups " centralized backups | |
"set directory=~/.vim/swaps " centralized swaps | |
"set undodir=~/.vim/undo " centralized undo history | |
set fileformats=unix,dos,mac | |
set number " enable line numbers | |
set numberwidth=5 | |
filetype plugin indent on |
This file contains 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
Show hidden characters
{ | |
"color_scheme": "Monokai.sublime-color-scheme", | |
"word_wrap": true, | |
"show_encoding": true, | |
"highlight_line": true, | |
"font_options": ["subpixel_antialias"], | |
"auto_complete_commit_on_tab": true, | |
"ensure_newline_at_eof_on_save": true, | |
"highlight_modified_tabs": true, | |
"trim_trailing_white_space_on_save": true, |
This file contains 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
# Powershell Core 7.3.6 tested | |
$lolDriversUri = 'https://www.loldrivers.io/api/drivers.json' | |
"Fetching loldriver list as json from $lolDriversUri" | |
$response = Invoke-RestMethod -Uri $lolDriversUri | |
$jsonObject = ConvertFrom-Json $response -AsHashTable | |
#Write-Host $jsonObject.Tags | |
"Obtained driver list from loldrivers.io, count is $($jsonObject.Count)" | |
"Scanning $scanPath for drivers (*.sys)" | |
$scanPath = "$env:windir\System32" | |
$driverList = Get-ChildItem -Path $scanPath -Recurse -Filter "*.sys" -ErrorAction SilentlyContinue | Select-Object Name, FullName |
This file contains 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
# https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/configure-proxy-internet?view=o365-worldwide#enable-access-to-microsoft-defender-atp-service-urls-in-the-proxy-server | |
# https://download.microsoft.com/download/6/b/f/6bfff670-47c3-4e45-b01b-64a2610eaefa/mde-urls-commercial.xlsx | |
# https://download.microsoft.com/download/6/a/0/6a041da5-c43b-4f17-8167-79dfdc10507f/mde-urls-gov.xlsx | |
$MSATPURLs = "automatedirstrffusgt.blob.core.usgovcloudapi.net","automatedirstrffusgv.blob.core.usgovcloudapi.net","automatedirstrfmusmt.blob.core.usgovcloudapi.net","automatedirstrfmusmv.blob.core.usgovcloudapi.net","automatedirstrprdcus.blob.core.windows.net","automatedirstrprdcus3.blob.core.windows.net","automatedirstrprdeus.blob.core.windows.net","automatedirstrprdeus3.blob.core.windows.net","automatedirstrprdneu.blob.core.windows.net","automatedirstrprdneu3.blob.core.windows.net","automatedirstrprduks.blob.core.windows.net","automatedirstrprdukw.blob.core.windows.net","automatedirstrprdweu.blob.core.wind |
This file contains 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
#!/usr/bin/env bash | |
# https://gist.githubusercontent.com/ranjithum/274b921eed36d2e98c204f43aaf53ca3/raw/8a3c8d875a88416306be46e376bc485af0a76f49/unix-shark | |
# https://mivehind.net/2018/04/20/sniffing-unix-domain-sockets/ | |
# https://www.humbug.in/2013/sniffing-unix-domain-sockets/ | |
# https://pypi.org/project/unixdump/ | |
# https://github.com/mechpen/sockdump | |
_usage() | |
{ |
This file contains 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
set -g base-index 1 | |
set -g pane-base-index 1 | |
set -g default-terminal "screen-256color" | |
set -g history-limit 100000 | |
set-window-option -g automatic-rename off | |
set-option -g set-titles off | |
bind r source-file ~/.tmux.conf | |
set-option -g mouse on | |
set -g mouse on | |
set -g xterm-keys on |
This file contains 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
-- challenge 1: | |
From the name of the challenge it was a dead giveway that there was a .git folder exposed. | |
Then just find out where the git repo is hosted: | |
curl http://0x70.apl3b.com/.git/config | |
And get the repo hosting service: | |
https://gitlab.com/DDuarte/twipy.git | |
Finally check all the commits and on this one at the bottom of the page you can read a flag: |
NewerOlder