Список поддельных email-адресов

Gefälschte E-Mail-Liste + Generator

Als Teil des Eintrags, der der Möglichkeit gewidmet ist, Links und E-Mail-Adressen zu extrahieren, war es notwendig, eine Liste gefälschter E-Mail-Adressen zu erstellen, die es nicht nur ermöglichen würde, gefälschte Adressen zu generieren, sondern dies auch in einer gebrauchsfertigen Form in HTML zu tun Code. Tatsächlich ist der Python-Generator-Code selbst unten verfügbar (plötzlich wird er für jemanden nützlich sein) (und der PHP-Generator befindet sich ganz unten auf der Seite;) ):

  1. import random
  2. max_mail = int(input('Сколько адресов нужно: '))
  3. end_file_html = 'mail_base_html.txt'
  4. end_file = 'mail_base.txt'
  5.  
  6. min_mail = 0
  7. while min_mail <= max_mail:
  8.     random_value = random.randrange(1, 10)
  9.     mail_server_list = ['gmail.com', 'yandex.ru', 'outlook.com', 'mail.ru']
  10.     random_mail = random.sample('abcdefghijklmnopqrstuvwxyz0123456789', random_value)
  11.     random_mail = ''.join(random_mail)
  12.     random_mail_server = mail_server_list[random.randrange(0, len(mail_server_list))]
  13.     random_mail = random_mail + '@' + random_mail_server
  14.     for_record = '<a href="mailto:' + random_mail + '">' + random_mail + '</a>'
  15.     with open(end_file_html, 'a', encoding='utf-8') as f:
  16.         f.write(for_record + '\n')
  17.  
  18.     with open(end_file, 'a', encoding='utf-8') as f:
  19.         f.write(random_mail + '\n')
  20.     min_mail = min_mail + 1
  21.     print(for_record)

Sie können beliebig viele Adressen generieren und das Ergebnis der Arbeit wird in zwei Dateien geschrieben. Der erste hat nur die Form einer Textliste und der zweite hat die Form eines HTML-Codes – etwa so:

<a href="mailto:o@outlook.com">o@outlook.com</a>

Also die Liste ist:
o@outlook.com
hr6zdl@yandex.ru
kaft93x@outlook.com
dcu@yandex.ru
19dn@outlook.com
pa5h@mail.ru
281av0@gmail.com
8edmfh@outlook.com
sfn13i@mail.ru
g0orc3x1@outlook.com
rv7bp@gmail.com
93@outlook.com
er@gmail.com
o0my@gmail.com
715qy08@gmail.com
vubx0t@mail.ru
wnhborq@outlook.com
gq@yandex.ru
ic0pu@outlook.com
o7khr@yandex.ru
2shlaq@outlook.com
cdbw@yandex.ru
wrts90puk@yandex.ru
yxunv@gmail.com
7y@yandex.ru
6@mail.ru
k8sjebg1y@mail.ru
jirbold@gmail.com
u7yhwf1vb@mail.ru
f@outlook.com
gjkhp@mail.ru
wyalkxfde@gmail.com
f245n@outlook.com
w@outlook.com
js3kyopz@mail.ru
o@outlook.com
uzfd@mail.ru
g@mail.ru
dvjf0@gmail.com
d2mc@outlook.com
06lk@mail.ru
emhzysf2@yandex.ru
d1w28lkg@yandex.ru
t93@mail.ru
t3i@outlook.com
t6ro3@gmail.com
1zqnk0y7@yandex.ru
768ptl4nv@gmail.com
bzq3yh2c1@mail.ru
78k3dvwx@outlook.com
fe8obp@mail.ru
cxh2daw8@outlook.com
lrsdy5p@yandex.ru
2de17h@mail.ru
we3l08z5@gmail.com
i8ovxn2f@gmail.com
q4as80@outlook.com
opu@outlook.com
5iar3l8k@yandex.ru
4zegxla@mail.ru
8lf0g@yandex.ru
1zx8@yandex.ru
x@mail.ru
34d@gmail.com
pxacl@mail.ru
7o1@gmail.com
1@gmail.com
iut@gmail.com
e3t@outlook.com
41clb6o2g@yandex.ru
5hsbm8pi3@mail.ru
dihf8jxk@gmail.com
dwej@yandex.ru
zyue8brv@outlook.com
0a5437@mail.ru
fovtju3q2@yandex.ru
5ntglejc9@outlook.com
61rpbj@mail.ru
9m6pfk52r@outlook.com
gr@yandex.ru
v9dux@gmail.com
mek975vcx@gmail.com
uakvj8p9d@yandex.ru
t3m6u8v@gmail.com
jxqme@gmail.com
c3@gmail.com
3xkgmsd9t@gmail.com
s9iw@mail.ru
qo2sc@mail.ru
xiuq5olft@gmail.com
8swlo27hd@outlook.com
r0o6f92@gmail.com
z@gmail.com
r3p4mgf5@yandex.ru
p@outlook.com
61j@yandex.ru
t2sr@gmail.com
u7@outlook.com
9k15qr2h@gmail.com
3vmtdo1@outlook.com
q9@mail.ru

Es gibt auch eine Tabelle mit einigen Daten:

bla-bla-bla
bla-bla-bla

Warum das alles aufgehäuft wird – hier lesen 🙂

UPD: Danke an einen der Blog-Leser – er wies auf einen Syntaxfehler im Code hin: Statt des MORE-Zeichens (<) – gab es Code, und als der Code zur Ausführung ausgeführt wurde, trat ein Fehler auf. Korrigiert 🙂

UPD: Ich habe im Rahmen des Prozedere mit PHP schnell ein Formular zum Generieren von Adressen in PHP erstellt – was, wenn es sich als nützlich erweist? 🙂 Hier ist alles einfach – wählen Sie aus, wie viele Adressen Sie benötigen, klicken Sie auf die Schaltfläche und Sie erhalten eine Seite mit Adressen 🙂