Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
Add dnstwist/hibp and data source table to schema
Browse files Browse the repository at this point in the history
- This PR is still WIP. Will come back in a later sprint since 8 has ended
  • Loading branch information
aloftus23 committed Jan 18, 2022
1 parent d91ab79 commit 74d7eff
Show file tree
Hide file tree
Showing 7 changed files with 780 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pe_reports/data/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ port=
[blocklist]
[dehashed]
[dnstwist]

[hibp]
key=

[postgresql]
host=
Expand Down
9 changes: 9 additions & 0 deletions src/pe_reports/data/data_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,15 @@ CREATE TABLE IF NOT EXISTS public.executives
PRIMARY KEY (executives_uid)
);

-- Data source table Table
CREATE TABLE IF NOT EXISTS public.data_source
(
data_source_uid uuid default uuid_generate_v1() NOT NULL,
description text NOT NULL,
last_run date NOT NULL,
PRIMARY KEY (data_source_uid)
);


-- Reporting Tables ----
-- Domain Masquerading Table
Expand Down
1 change: 1 addition & 0 deletions src/pe_source/data/dnstwist/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Initialize dnstwist data directory."""
369 changes: 369 additions & 0 deletions src/pe_source/data/dnstwist/common_tlds.dict
Original file line number Diff line number Diff line change
@@ -0,0 +1,369 @@
com
org
ru
net
de
br
uk
it
pl
jp
fr
au
ir
in
info
cz
nl
es
ca
ua
cn
kr
eu
co
ch
gr
tw
za
se
ro
hu
at
be
mx
vn
ar
sk
dk
no
io
tr
me
us
cl
biz
fi
tv
pt
nz
ie
xyz
id
il
by
hk
club
sg
lt
рф
my
online
kz
pro
cc
si
hr
bg
th
rs
su
pk
az
top
site
ng
edu
lv
pe
ae
ee
tk
ph
cat
pw
sa
uz
gov
is
mobi
win
nu
lu
ml
asia
ma
lk
shop
ge
ve
live
blog
ws
space
ba
ga
uy
bd
cf
website
life
tn
ai
tech
md
news
mk
ke
do
fm
ec
to
am
store
mn
la
py
coop
media
travel
al
world
work
np
one
eg
guru
cr
kg
link
stream
tz
ly
gg
app
icu
nyc
qa
agency
gt
host
network
bid
cloud
vip
bo
cy
dz
im
bz
aero
gq
ug
global
design
digital
eus
pa
af
vc
academy
li
ao
center
jobs
tj
studio
sv
ovh
mm
jo
ag
click
video
sd
kw
zone
zw
moe
press
cm
ps
ci
city
ooo
re
ninja
lb
wiki
mt
om
education
company
mz
gh
mu
kh
trade
solutions
mo
church
men
group
tips
sy
cu
ni
ac
plus
red
sh
guide
rw
games
bh
sn
st
hn
art
iq
expert
events
cash
social
party
school
bike
tools
ltd
services
moscow
et
bank
fo
so
market
cool
sexy
team
marketing
ms
tt
zm
bzh
mg
works
bio
bet
bw
cx
land
as
community
pg
gal
love
pub
cd
bt
email
tm
na
systems
date
ink
cafe
gdn
blue
capital
coffee
sc
pics
bn
chat
run
fit
science
help
bf
house
укр
care
nc
exchange
porn
photography
bm
audio
loan
scot
gratis
swiss
watch
ad
kim
support
training
рус
gl
gs
technology
codes
gallery
reviews
wtf
movie
mv
wien
webcam
farm
money
style
wang
ht
jm
software
bar
beer
law
photo
int
photos
directory
africa
energy
pf
gi
tc
fund
mw
international
fj
lol
amsterdam
report
camp
pr
earth
pink
sm
pm
ky
ventures
restaurant
bi
foundation
mr
je
mc
deals
direct
mil
show
tube
careers
film
fyi
buzz
cam
tl
1 change: 1 addition & 0 deletions src/pe_source/data/hibp/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Initialize hibb data folder."""

0 comments on commit 74d7eff

Please sign in to comment.