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
# https://www.hostinger.com/tutorials/tmux-config | |
# Enable mouse mode | |
set -g mouse on | |
set -g history-limit 80000 | |
# Dumps history into logfile on trigger, depends on history-limit | |
# set -g @save-complete-history-path "~/.tmux/logs" | |
set -g @logging-path "~/.tmux/logs" | |
set -g @plugin 'tmux-plugins/tpm' |
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
# Use aliases in sudo | |
# https://askubuntu.com/a/22043 | |
alias sudo="sudo --preserve-env=HOME " | |
alias fucking="sudo --preserve-env=HOME " | |
# Reference: https://dev.to/lissy93/cli-tools-you-cant-live-without-57f6 | |
alias la="eza -lah --header --icons --group" | |
alias ls="eza --icons -h" | |
alias lt="eza --icons --tree" | |
alias lta="eza -al --icons --tree" |
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
from selenium import webdriver | |
from selenium.webdriver.chrome.service import Service | |
from selenium.webdriver.common.by import By | |
service = Service(executable_path="/usr/bin/chromedriver") | |
options = webdriver.ChromeOptions() | |
options.add_argument('--headless') | |
driver = webdriver.Chrome(service=service, options=options) | |
URL = 'https://<URL>/challenge/code-4/' |
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
#!/usr/bin/python3 | |
import os | |
import click | |
import tempfile | |
from pathlib import Path | |
from subprocess import check_output, run | |
GHIDRA_PATH = os.environ.get('GHIDRA_PATH', '/opt/ghidra/') | |
ANALYZER = f"{GHIDRA_PATH}support/analyzeHeadless" |
NewerOlder