-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcvesearch.py
29 lines (25 loc) · 1.76 KB
/
cvesearch.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import datetime
import csv
from colored import fg, attr
whitecolor = fg('#FFFFFF')
bluecolor = fg('#6495ED')
greencolor = fg('#009900')
timecolor = fg('#9400D3')
res = attr('reset')
now = datetime.datetime.now()
print('')
print(greencolor + ' ██████ ██ ██ ███████ ███████ ███████ █████ ██████ ██████ ██ ██' + res)
print(greencolor + ' ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██' + res)
print(greencolor + ' ██ ██ ██ █████ ███████ █████ ███████ ██████ ██ ███████' + res)
print(greencolor + ' ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ' + res)
print(greencolor + ' ██████ ████ ███████ ███████ ███████ ██ ██ ██ ██ ██████ ██ ██' + res)
print('')
print(bluecolor + ' Made by TigerNetv [Ariel Shabaev] | https://github.com/TigerNetv' + res)
print('')
with open("data/data.csv", encoding="utf8", errors='ignore') as csvfile:
reader = csv.reader(csvfile, skipinitialspace=True)
search = input(timecolor + now.strftime("%d/%m/%Y %H:%M:%S") + res + whitecolor + " Search : " + res)
for row in reader:
for str in row:
if search in str:
print(row)