Cookies took Secure from r.TLS, which is nil behind a proxy that terminates TLS, so sign-in cookies went out without it. Every dashboard cookie now goes through one builder that reads the scheme the way the origin check does. The worktree reset and the agent worker's chown walk use os.Root, so a symlink swapped in mid-walk can't point them outside the worktree. gosec runs in golangci-lint, tests included. G104, G115, G204 and G304 are excluded in config; each remaining finding is fixed or suppressed at the site with its reason.
361 lines
7.5 KiB
Go
361 lines
7.5 KiB
Go
package identity
|
|
|
|
// Known common passwords at or above the minimum length, from the NCSC
|
|
// list in SecLists. Shorter entries are rejected by the length rule.
|
|
// Source: https://github.com/danielmiessler/SecLists/blob/master/Passwords/Common-Credentials/100k-most-used-passwords-NCSC.txt
|
|
//
|
|
// MIT License
|
|
//
|
|
// Copyright (c) 2018 Daniel Miessler
|
|
//
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
// of this software and associated documentation files (the "Software"), to deal
|
|
// in the Software without restriction, including without limitation the rights
|
|
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
// copies of the Software, and to permit persons to whom the Software is
|
|
// furnished to do so, subject to the following conditions:
|
|
//
|
|
// The above copyright notice and this permission notice shall be included in all
|
|
// copies or substantial portions of the Software.
|
|
//
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
// SOFTWARE.
|
|
|
|
//nolint:gosec // G101: the list of passwords sign-up refuses.
|
|
const commonPasswords = `
|
|
$hex[687474703a2f2f616473]
|
|
$hex[687474703a2f2f777777]
|
|
000000000000000
|
|
00000000000000000000
|
|
010203040506070809
|
|
102030405060708090
|
|
111111111111111
|
|
11111111111111111111
|
|
111111prof_root2.sql.txt:,
|
|
111111prof_root3.sql.txt:,
|
|
111222333444555
|
|
1122334455667788
|
|
112233445566778899
|
|
11223344556677889900
|
|
1213141516171819
|
|
122333444455555
|
|
123123123123123
|
|
123451234512345
|
|
1234567812345678
|
|
1234567887654321
|
|
12345678900987654321
|
|
123456789012345
|
|
1234567890123456
|
|
12345678901234567890
|
|
1234567890987654321
|
|
1234567890qwert
|
|
1234567890qwerty
|
|
1234567890qwertyuiop
|
|
123456789101112
|
|
123456789123456
|
|
1234567891234567
|
|
123456789123456789
|
|
12345678987654321
|
|
123456789987654
|
|
1234567899876543
|
|
123456789987654321
|
|
123456789qwerty
|
|
123456789qwertyuio
|
|
123456789qwertyuiop
|
|
123456789zxcvbnm
|
|
12345678qwertyui
|
|
123456prof_root2.sql.txt:,
|
|
123456prof_root3.sql.txt:,
|
|
12345qwertasdfg
|
|
1234qwerasdfzxcv
|
|
1324354657687980
|
|
1q2w3e4r5t6y7u8
|
|
1q2w3e4r5t6y7u8i
|
|
1q2w3e4r5t6y7u8i9o
|
|
1q2w3e4r5t6y7u8i9o0p
|
|
1qa2ws3ed4rf5tg
|
|
1qaz2wsx3edc4rfv
|
|
1qaz2wsx3edc4rfv5tgb
|
|
1qazxsw23edcvfr4
|
|
30secondstomars
|
|
5.254.105.20:test
|
|
5.254.105.20:test1
|
|
555555555555555
|
|
6666666666empulgara
|
|
79621601378.kirill
|
|
827ccb0eea8a706c4c
|
|
9121318barssuki
|
|
987654321123456789
|
|
???????????????
|
|
@elit-centr.com.ua
|
|
aaaaaaaaaaaaaaa
|
|
aaaaaaaaaaaaaaaa
|
|
abuse_123456_abuse
|
|
aleksandr.ustinov.2012
|
|
aleksej.shorin.86
|
|
alena_plotnikova_1995
|
|
aliya.mutallapova
|
|
andrey.shalanov
|
|
andreyka.gorshkov.98
|
|
andreyka.zhilin.1981
|
|
anna.savickaya.1986
|
|
antsiferova1973
|
|
antusenok_zhekonya
|
|
apalkova.tatiana
|
|
aqwleeb_6e0pk59
|
|
arina-sharapova-80
|
|
arividerchi_shatalov
|
|
armyach-aleksandra
|
|
arsik-di-noxcho95
|
|
asdfghjkl:':
|
|
asdfghjkl;'
|
|
asdfghjklzxcvbnm
|
|
asil.dovlatov.1982
|
|
avengedsevenfold
|
|
azefirov.inno1987.r
|
|
bad_boys_adience
|
|
bakuman.manga.drawing
|
|
beloved_a_devil
|
|
blackangel09021
|
|
blckd_sa_unpaidfee_oct06
|
|
californication
|
|
ceckbrcerfkbxyjcnm2
|
|
cod12qw75rqyi59n
|
|
constance626boilard1987
|
|
cristianoronaldo
|
|
d1bd6bc58c1d74df41a957489c9942f5
|
|
d41d8cd98f00b204e980
|
|
damira.shagabutdinova
|
|
default_password
|
|
demon1q2w3e4r5t
|
|
denis_nazarenko
|
|
dimulya.vasilenko
|
|
dmitrij.mironov2014
|
|
doomsayer.2.7mords.v
|
|
doomsayer.2.7mords.vv
|
|
dovbeshkosushova.1972
|
|
drm199019902323
|
|
e10adc3949ba59abbe56
|
|
eremei_vasechkin
|
|
etravelmoleoptin
|
|
evgenii-shenderovich
|
|
familiyafamiliya
|
|
fiammalex1@hotmail.it
|
|
fjodorova-natashenka
|
|
friendofarriane
|
|
friendofearning$1
|
|
friendofeveryemailyouproc
|
|
friendofthenext18peoplew
|
|
friendofyoucanmake$200-
|
|
gadjieva.gulmira
|
|
galatasaray1905
|
|
galina-davidyuk
|
|
galinka_korneeva
|
|
gayassfagpastebinleaks
|
|
goderdzikarxjxv
|
|
golovizina_elena
|
|
guldaniya.galina
|
|
gygypyfyyyposhy
|
|
hallucinationse
|
|
hd764nw5d7e1vb1
|
|
hermina617berno1990f6i
|
|
holidaysecure123
|
|
holidaysecure123$
|
|
htt//members.cumfiesta.com/
|
|
hugo854lataille1988
|
|
ignatova_1978_09
|
|
ijfrnhf7yhcy54bhy0cd
|
|
inactive1996aug
|
|
ivankaterinchenko
|
|
jafjkshf7y6w34rjd
|
|
john!20130605at1753
|
|
julia_eduardovna
|
|
juliadronina1996
|
|
kamazist.tsobenko
|
|
kartoffelpuffer
|
|
kikugalanetroot
|
|
kinyabuzova.eleonora
|
|
kirienko_svetlana
|
|
kirik26trimyasov
|
|
kirill.kirillov.2013
|
|
korostelev_3333
|
|
kotovichvalentina
|
|
ksyusha.kulagina.91
|
|
kudryavcevavalya
|
|
kurmangazieva_gulmira
|
|
kuznecovviktorr
|
|
lady.procenko71
|
|
len_rin_kagamine_02
|
|
lexaafanasiev84
|
|
lhbjkjubz2957704
|
|
lightpower12345
|
|
linkedinlinkedin
|
|
linkedinpassword
|
|
listopad.iuliia
|
|
macegorova.mariya
|
|
maitland571ka1994
|
|
maks.abramov.99.99
|
|
maksim.bychkov.1986
|
|
maksimilian_nasirov
|
|
malhotra493ozzy1991282151
|
|
manchesterunited
|
|
mandds1mg6bv8re
|
|
maria-demidchik
|
|
mariagoncharenko
|
|
marina.shapovalo
|
|
marina.ushakovaznuv
|
|
marina_stryazhkova
|
|
marinadeduxinaa
|
|
marinaorlova1991
|
|
marinochka.zhelannaya
|
|
masloboinikova1987
|
|
maximova_elena77
|
|
migrationsandeep
|
|
migrationschool
|
|
mihail_alekseevskiy406
|
|
mihailpezhemskii
|
|
milankasanakoeva
|
|
mirellabroersma1987570
|
|
miss-evgeniya-93
|
|
miss.marina.nikolaeva.2013
|
|
mknaxhxeh8yp3tf
|
|
morozovavalya28
|
|
mozellbranou81e
|
|
mutalim.gusenov
|
|
mychemicalromance
|
|
narashchivaiunoghti
|
|
nastyaanciferova
|
|
natalya.dmitrieva.1978
|
|
nati.beridze.92
|
|
never_desponding
|
|
neworleans12345
|
|
nikolay_thebest
|
|
oksanaorgadykova
|
|
olesya.kolchina
|
|
olga.kazakova_85
|
|
olga.ponomarenko.2012
|
|
olga.rumyanceva.1985
|
|
olgha.pietrova.1979
|
|
password1234567
|
|
password12345678
|
|
password123456789
|
|
passwordpassword
|
|
pletnevakaterina
|
|
polniypizdec0211
|
|
polniypizdec1102
|
|
polniypizdec110211
|
|
professionaltools
|
|
prosto_chelkynchik
|
|
q1w2e3r4t5y6u7i8
|
|
q1w2e3r4t5y6u7i8o9
|
|
q1w2e3r4t5y6u7i8o9p0
|
|
qazwsxedcrfvtgb
|
|
qwertasdfgzxcvb
|
|
qwerty123456789
|
|
qwerty1234567890
|
|
qwertyuiop12345
|
|
qwertyuiop123456
|
|
qwertyuiop123456789
|
|
qwertyuiop1234567890
|
|
qwertyuiopasdfg
|
|
qwertyuiopasdfghjkl
|
|
qwertyuiopasdfghjkl151515
|
|
qwertyuiopasdfghjklzxcvbnm
|
|
r6a50de3ujwtog4
|
|
rachelle289ariyoshi5251987
|
|
rashaun966krager1993
|
|
raymonde336schwegel7331987
|
|
regawf7ss1dm7rn
|
|
rendakova_sveta
|
|
riwr2hky4w3tjgg
|
|
rkamkin.karoli1988mp
|
|
romanova.natalya.96
|
|
rtertuy77ijyhu7i
|
|
sataieva.elinka
|
|
sdf7asdf6asdg8df
|
|
sdf7asdf6asdg8df1
|
|
sergeevna_10.10.91
|
|
sergey-personal
|
|
sergey.lushnikoff
|
|
sergey.melnik-1996
|
|
sergio-emperior
|
|
shakmakovataisiya1992
|
|
shaquillesecx10
|
|
sharmaine005foskett6071988
|
|
shea019bernabei1992
|
|
sheba417yorck1986vxm7
|
|
shukurova-ismigu
|
|
siiifonjiknalivai
|
|
silakova.nadezhda.2012
|
|
simonova_lyudmila_73
|
|
simonovskiy1970
|
|
sirazhdinov.shamil
|
|
slava_kulbidyuk
|
|
sofya.kulikova.87
|
|
soloveibormalei
|
|
somanypickles27
|
|
sorokina-999-01
|
|
spiridonmarkin1982
|
|
spring938burston0001990
|
|
srcuqq1_2j1h3rbf
|
|
stalker_lemurrr
|
|
stas.gorodissky
|
|
stas_the_best.ru
|
|
stefangreil1983
|
|
stepanov_georgij
|
|
sulamifcherenchikova1979
|
|
svetik_kryuchkov
|
|
svetlana-mironova-13
|
|
tagesgruppe2010
|
|
thisismypassword
|
|
travelmoleoptin
|
|
vadyusha.isaev.83
|
|
valentina.victoria
|
|
valya-valya-1982
|
|
valya.klimenko.87
|
|
valya.korobeynik
|
|
valya.kryuchkova.1990
|
|
valya.lantux.83
|
|
varfolomeeva0990
|
|
varida.alibaeva
|
|
veralipatnikova
|
|
victor_evdokimov
|
|
victor_sakhalin1990-20
|
|
victoria-berkat-energo
|
|
victoria-dyatlova
|
|
victoria392eliezrie1992frp
|
|
victoria_shkurco
|
|
vika.krivonos.1995
|
|
vkovshut_annab1988fg
|
|
vks1zz9v_7ceu69
|
|
vladcherktecktonik
|
|
volfram.kozlov123633
|
|
volfram.kozlov173902
|
|
volgograd.orlovka
|
|
volkova.elena.13
|
|
volkova.ksyusha.89
|
|
volodina.elena66
|
|
volodya-ivanov-63
|
|
volokitina.olga
|
|
voroshilova.liliya
|
|
worldofwarcraft
|
|
wwwksenechkawww
|
|
yegbpltw2012lol
|
|
yfdbufnjh10305070
|
|
yulia-dubrovina
|
|
yushinazena2009
|
|
zabloczkaya2012
|
|
zabolotneva_ira
|
|
zabolotnova31337
|
|
zarina_sabirova
|
|
zarinaismailova
|
|
zxcvbnm123456789
|
|
zxcvbnmasdfghjkl
|
|
пїѕпїѕпїѕпїѕпїѕпїѕ@mail.ru
|
|
`
|