Skip to content

Instantly share code, notes, and snippets.

@flatcap
Created March 29, 2020 16:01
Show Gist options
  • Save flatcap/1725d238f8c35a7be53ebb445c389a8a to your computer and use it in GitHub Desktop.
Save flatcap/1725d238f8c35a7be53ebb445c389a8a to your computer and use it in GitHub Desktop.
imap generator
#!/bin/bash
for a in 'imap' 'imaps'; do
for b in '' 'user@' '[email protected]@' 'user:pass@'; do
for c in 'host.com' '[12AB::EF89]'; do
for d in '' ':123'; do
for e in '' '/' '/path' '/path/one/two' '/path.one.two'; do
echo "$a://$b$c$d$e"
done
done
done
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment