Skip to content

Commit

Permalink
Merge pull request #342 from lap1nou/fix-username-anarchy
Browse files Browse the repository at this point in the history
Fix username-anarchy
  • Loading branch information
ShutdownRepo authored May 4, 2024
2 parents e2f642c + f4eb6dc commit 28ca177
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions sources/install/package_wordlists.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,17 @@ function install_pass_station() {
function install_username-anarchy() {
colorecho "Installing Username-Anarchy"
git -C /opt/tools/ clone --depth 1 https://github.com/urbanadventurer/username-anarchy
cd /opt/tools/username-anarchy || exit
# https://github.com/urbanadventurer/username-anarchy/pull/3
local temp_fix_limit="2025-04-01"
if [[ "$(date +%Y%m%d)" -gt "$(date -d $temp_fix_limit +%Y%m%d)" ]]; then
criticalecho "Temp fix expired. Exiting."
else
git config --local user.email "local"
git config --local user.name "local"
local prs=("3")
for pr in "${prs[@]}"; do git fetch origin "pull/$pr/head:pull/$pr" && git merge --strategy-option theirs --no-edit "pull/$pr"; done
fi
add-aliases username-anarchy
add-history username-anarchy
add-test-command "username-anarchy --help"
Expand Down

0 comments on commit 28ca177

Please sign in to comment.