Skip to content
KitploitKITPLOIT
StrumentiBlog
Invia
StrumentiBlog
Invia

Strumenti di Hacking, PenTest e Cybersecurity per il tuo Arsenale di Sicurezza!

Kitploit è una directory di strumenti di hacking, cybersecurity e pentesting. Scopri gli ultimi aggiornamenti dei progetti per trovare vulnerabilità, analizzare sistemi, automatizzare i test e rafforzare la tua sicurezza.

··Feed·Contatto·Privacy·© 2026 Kitploit

Directory degli strumenti

Categorie

Vedi tutte le categorie
Loading categories
username-anarchy — Strumenti per nomi utente per test di penetrazione | Kitploit
Strumenti/GitHubGitHub/urbanadventurer/username-anarchy
OSINT (Open Source Intelligence)Password CrackingRicognizioneAttacchi alle PasswordRaccolta InformazioniPenetration TestingTop in Attacchi alle Password n.11Top in Password Cracking n.11
GitHuburbanadventurer/username-anarchy
1.4k16781 anno faRevisionato da Kitploit

Più Popolari

Vedi tutti →

Scopri gli strumenti più utilizzati dalla nostra community.

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →
Condividi

username-anarchy

Strumenti per nomi utente per test di penetrazione

Vedi RepositorySito web

License Stable Release Repositories

Username Anarchy

  • Versione: 0.6 (20 Settembre 2024)
  • Autore: urbanadventurer (Andrew Horton)
  • Homepage: https://www.morningstarsecurity.com/research/username-anarchy
  • Sorgente: https://github.com/urbanadventurer/username-anarchy/
  • Licenza: MIT

Descrizione

Strumenti per generare nomi utente durante i test di penetrazione. I nomi utente sono metà del problema del brute force delle password.

Questo è utile per l'enumerazione degli account utente e il brute force delle password quando i nomi utente sono basati sui nomi degli utenti. Provando alcune password deboli su un ampio insieme di account utente, si possono evitare le soglie di blocco degli account.

I nomi degli utenti possono essere identificati attraverso vari metodi:

  • Web scraping dei nomi dei dipendenti da LinkedIn, Facebook e altri social network.
  • Estrazione dei metadati da tipi di documento come PDF, Word, Excel, ecc. Questo può essere fatto con FOCA.

Sono inclusi anche alias comuni, o nomi utente scelti dagli utenti, dai forum.

Caratteristiche

  • Architettura a plugin per i formati dei nomi utente
  • Definizioni dei formati dei nomi utente in stile stringa di formato
  • Sostituzioni. Ad esempio, quando si conoscono solo l'iniziale del nome e il cognome (LinkedIn elenca gli utenti in questo modo), tenterà tutti i possibili nomi
  • Database nazionali di nomi e cognomi comuni da Familypedia e PublicProfiler
  • Include le liste dei nomi e cognomi comuni di Facebook

Extra

  • Nomi utente comuni dei forum, ordinati per popolarità

Utilizzo

Username Anarchy è uno strumento a riga di comando.

root@kitploit:~
	 ___ ____                                                        
	|   |    \ ______  ____ _______   ____  _____     __ __    ____  
	|   :    //  ___/_/    \\_  __ \ /    \ \__  \   /  :  \ _/    \
	'   .   / \___ \ \   o_/ |  | \/|   :  \ /  o \ |  . .  \\   o_/ 
	 \_____/ /______) \_____)|__|   |___:  /(______)|__: :  / \_____)
	       _____                         \/       .__     \/      
	      /     \    ____  _____  _______   ____  |  |__  ___.__.   
	     /   o   \  /    \ \__  \ \_  __ \_/ ___\ |  |  \(   :  |   
	    /    .    \|   .  \ /  o \ |  | \/\  \___ |   .  \\___  |   
	    \____:__  /|___:__/(______)|__|    \_____)|___:__//_____|   
	            \/                                                  
	Usage: ./username-anarchy [OPTIONS]... [firstname|first last|first middle last]
	Author: Andrew Horton (urbanadventurer). Version: 0.5

	Names:
	 -i, --input-file FILE     Input list of names. Can be SPACE, CSV or TAB delimited.
	                           Defaults to firstname, lastname. Valid column headings are:
	                           firstinitial, firstname, lastinitial, lastname,
	                           middleinitial, middlename.
	 -a, --auto                Automatically generate names from a country/list
	 -c, --country COUNTRY     COUNTRY can be one of the following datasets:
	                           PublicProfiler:
	                           argentina, austria, belgium, canada, china,
	                           denmark, france, germany, hungary, india, ireland,
	                           italy, luxembourg, netherlands, newzealand, norway,
	                           poland, serbia, slovenia, spain, sweden,
	                           switzerland, uk, us
	                           Other:
	                           Facebook - uses the Facebook top 10,000 names
	     --given-names FILE    Dictionary of given names
	     --family-names FILE   Dictionary of family names
	 -s, --substitute STATE    Control name substitutions
	                           Valid values are 'on' and 'off'. Default: off
	                           Can substitute any part of a name not available
	 -m, --max-sub NUM         Limit quantity of substitutions per plugin.
	                           Default: -1 (Unlimited)

	Username format:
	 -l, --list-formats        List format plugins
	 -f, --select-format LIST  Select format plugins by name. Comma delimited list
	 -r, --recognise USERNAME  Recognise which format is in use for a username.
	                           This uses the Facebook dataset. Use verbose mode to
	                           show progress.
	 -F, --format FORMAT       Define the user format using either format string or
	                           ABK format. See README.md for format details.

	Output:
	 -@, --suffix BOOL         Suffix. e.g. @example.com
	                           Default: None
	 -C BOOL,                  Case insensitive usernames.
	     --case-insensitive    Default: True (All lower case)

	Miscellaneous:
	 -v, --verbose             Display plugin format comments in output and displays
	                           last name searches in plugin format recogniser
	 -h, --help

Esempi di utilizzo

Conosci il nome di un utente ma non il formato del nome utente

root@kitploit:~
./username-anarchy anna key
anna
annakey
anna.key
annakey
annak
a.key
akey
kanna
k.anna
...

Conosci il formato del nome utente e i nomi degli utenti

root@kitploit:~
./username-anarchy --input-file ./test-names.txt  --select-format first.last
andrew.horton
jim.vongrippenvud
peter.otoole

Sai che il server si trova in Francia

Nota che -a o --auto è richiesto quando non specifichi alcun nome in input.

root@kitploit:~
./username-anarchy --country france --auto
martin
bernard
thomas
durand
richard
robert
petit
moreau
dubois
simon
martinsmith
martinjohnson
...

Elenca i plugin dei formati dei nomi utente

root@kitploit:~
./username-anarchy --list-formats
Plugin name         	Example
--------------------------------------------------------------------------------
first               	anna
firstlast           	annakey
first.last          	anna.key
firstlast[8]        	annakey
firstl              	annak
f.last              	a.key
flast               	akey
lfirst              	kanna
l.first             	k.anna
lastf               	keya
last                	key
last.f              	key.a
last.first          	key.anna
FLast               	AKey
first1              	anna0,anna1,anna2
fl                  	ak
fmlast              	abkey
firstmiddlelast     	annaboomkey
fml                 	abk
FL                  	AK
FirstLast           	AnnaKey
First.Last          	Anna.Key
Last                	Key
FML                 	ABK

Riconoscere automaticamente il formato del nome utente in uso

root@kitploit:~
./username-anarchy --recognise j.smith
Recognising j.smith. This can take a while.
Username format j.smith recognised. Plugin name: f.last

File di input

Per generare nomi utente per più di un account utente, devi fornire i nomi in un file di testo. Può essere delimitato da TAB o CSV.

Esempio 1

root@kitploit:~
Nome,Cognome
Andrew,Horton
Jim, von Grippenvud
Peter,O'Toole

Esempio 2

LinkedIn mostra spesso il nome e l'iniziale del cognome

root@kitploit:~
nome,iniziale cognome
andrew,h
foo,b

Esempio 3

Set misto di nomi

root@kitploit:~
nome,iniziale nome,iniziale secondo nome,cognome,iniziale cognome
andrew,,,horton,
jim,,,,v
,p,,o'toole,

Plugin personalizzati

Plugin da riga di comando

Definisci un formato plugin personalizzato usando il formato ABK o il formato stringa di formato. Specifica il formato del nome utente con -F o --format

Esempio 1

root@kitploit:~
./username-anarchy -F "v-annakey" andrew horton
v-andrewhorton

Esempio 2

root@kitploit:~
./username-anarchy -F "v-%f%l" -a -C poland
v-nowaksmith
v-nowakjohnson
v-nowakjones
v-nowakwilliams
v-nowakbrown
v-nowaklee
v-nowakkhan
v-nowaksingh
v-nowakkumar
v-nowakmiller
...

Scrivere Plugin

Puoi aggiungere plugin a Username Anarchy definendoli in format-plugins.rb

Questo esempio usa il formato ABK.

root@kitploit:~
Plugin.define "last.first" do
	def generate(n)
		n.format_anna("key.anna")
	end
end

Questo esempio usa il formato stringa di formato.

root@kitploit:~
Plugin.define "first" do
	def generate(n)
		n.format("%f")
	end
end

Stringhe di formato

Username Anarchy fornisce un metodo per definire un formato del nome utente con stringhe di formato.

  • %F - Nome
  • %M - Secondo nome
  • %L - Cognome
  • %f - nome
  • %m - secondo nome
  • %l - cognome
  • %i.f - iniziale del nome
  • %i.m - iniziale del secondo nome
  • %i.l - iniziale del cognome
  • %i.F - Iniziale del Nome
  • %i.M - Iniziale del Secondo nome
  • %i.L - Iniziale del Cognome
  • %D - Cifra da 0 a 9
  • %DD - Cifre da 00 a 99

Formato ABK

Username Anarchy fornisce un metodo per definire un formato del nome utente con il formato ABK che si traduce in stringhe di formato.

  • Anna - %F
  • Boom - %M
  • Key - %L
  • anna - %f
  • boom - %m
  • key - %l
  • A - %i.F
  • B - %i.M
  • K - %i.L
  • a - %i.f
  • b - %i.m
  • k - %i.l

Nomi utente dei forum

La cartella forum-names contiene:

  • common-forum-names.csv - Un file CSV con i nomi dei forum e la frequenza con cui sono apparsi
  • common-forum-names-top10k.txt - I primi 10.000 nomi dei forum
  • common-forum-names.txt - 1.774.313 nomi dei forum
  • phpbb-scraper.rb - uno scraper web per nomi utente su forum PHPbb

Risorse sui nomi

Nomi

  • http://worldnames.publicprofiler.org/SearchArea.aspx Alcuni paesi comuni. I primi 10 cognomi e nomi propri
  • https://secure.wikimedia.org/wikipedia/en/wiki/List_of_most_popular_given_names
  • http://www.babynamefacts.com/popularnames/countries.php?country=NZD I primi 100 nomi per paese
  • https://secure.wikimedia.org/wikipedia/en/wiki/List_of_most_common_surnames_in_Oceania

Analisi dei nomi:

  • https://secure.wikimedia.org/wikipedia/en/wiki/Capitalization
  • http://cpansearch.perl.org/src/KIMRYAN/Lingua-EN-NameParse-1.28/lib/Lingua/EN/NameParse.pm
  • http://search.cpan.org/~summer/Lingua-EN-NameCase/NameCase.pm
Scarica lo strumento