Sometimes, there are some untagged images left behind after failed builds. In order to get rid of those, this script can be used.
#!/bin/bash
docker rm $(docker ps -aq)
docker rmi $(docker images | grep "^<none>" | awk '{print $3}')
| """ | |
| CLI tool for search packages on Homebrew repository by provided keyword. | |
| Results sorted by downloads count (last 90 days). | |
| Requirements: | |
| pip install httpx colorama | |
| """ | |
| import argparse | |
| import json | |
| from pathlib import Path |
| # from windows (example below with zsh syntax) | |
| py -m pip install pywinrm | |
| git clone https://github.com/Orange-Cyberdefense/GOAD.git | |
| cd GOAD | |
| VAGRANT_HOME=.vagrant_home vagrant up | |
| # in case no port access for winrm | |
| # https://stackoverflow.com/questions/54010365/how-to-see-what-is-reserving-ephemeral-port-ranges-on-windows | |
| # from WSL2 (ubuntu) |
| # based on https://stackoverflow.com/a/16233710 | |
| import json | |
| import urllib | |
| from subprocess import call | |
| import requests | |
| import os | |
| import math | |
| import sys | |
| USER = sys.argv[1] |
| /* disable white back glow on active favicons */ | |
| .tab-position .tab.active .tab-header .favicon { | |
| filter: none !important; | |
| } | |
| /* hide new/restore buttons on tab list */ | |
| div.button-toolbar.toggle-trash, | |
| div.button-toolbar.newtab { | |
| display: none !important; | |
| } |
| function prompt { | |
| $p = Split-Path -leaf -path (Get-Location) | |
| "PS $p> " | |
| } | |
| remove-item alias:ls | |
| remove-item alias:curl | |
| New-Alias curl "$env:USERPROFILE\scoop\shims\curl.exe" |
| /* Android ssl certificate pinning bypass script for various methods | |
| by Maurizio Siddu | |
| Run with: | |
| frida -U -f [APP_ID] -l frida_multiple_unpinning.js --no-pause | |
| */ | |
| setTimeout(function() { | |
| Java.perform(function () { | |
| console.log(''); |