[alias] history = log --oneline --graph --decorate --all reset-with-prejudice = reset --hard kill-branch = branch -D
# On ~/.bashrc or equivalent | |
# usage | |
# gmergehml tries to merge current branch and gets back | |
# gmergehml name/ofbranch specify a branch | |
gmergehml() { | |
local feature_branch="${1:-$(git rev-parse --abbrev-ref HEAD)}" | |
read -p "Merge branch '$feature_branch' into 'homolog'? [y/N] " answer | |
case "$answer" in | |
[Yy]* ) |
#!/bin/bash | |
# Create toggle script in /usr/bin | |
echo "Creating /usr/bin/warp-toggle..." | |
sudo tee /usr/bin/warp-toggle > /dev/null << 'EOF' | |
#!/bin/bash | |
STATUS=$(warp-cli -j status | grep -o '"status":[ ]*"[^"]*"' | cut -d'"' -f4) | |
if [ "$STATUS" = "Connected" ]; then | |
warp-cli -j disconnect |
O Androxgh0st atinge principalmente aplicações Laravel, um dos principais frameworks PHP usados em muitos sites. Ao escanear arquivos .env
, o malware consegue identificar e extrair informações sensíveis, especialmente credenciais de acesso a plataformas como a Amazon Web Services (AWS).
O funcionamento do Androxgh0st ocorre em várias fases:
O Androxgh0st utiliza uma botnet para procurar por sites que utilizam Laravel. Isso gera uma lista de possíveis alvos.
echo "deb [signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ jammy main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list | |
## force Jammy | |
sudo apt-get update && sudo apt-get install cloudflare-warp | |
warp-cli registration new | |
warp-cli connect |
I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).
Use ssh keys and define host aliases in ssh config file (each alias for an account).
I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).
Use ssh keys and define host aliases in ssh config file (each alias for an account).
// === Global Variables === | |
var siteResults = {}; | |
var isPaused = false; | |
var pausePromiseResolve; | |
// === Function to Export siteResults as CSV === | |
function exportSiteResultsAsCSV(siteResults) { | |
// Create the CSV headers | |
var csvContent = 'Site,Domain Info,DNS Info,Error\n'; |
sudo su -l www-data -s /bin/bash -c "cd $PWD; composer install" |