-
Notifications
You must be signed in to change notification settings - Fork 1
/
Curated-Lists-Creation.ps1
55 lines (53 loc) · 3.31 KB
/
Curated-Lists-Creation.ps1
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[System.String[]]$StateSponsorsofTerrorism = @()
$StateSponsorsofTerrorism += Get-Content -Path .\TXT\IPV4\IR.txt #Iran
$StateSponsorsofTerrorism += Get-Content -Path .\TXT\IPV6\IR.txt #Iran
$StateSponsorsofTerrorism += Get-Content -Path .\TXT\IPV4\CU.txt #Cuba
$StateSponsorsofTerrorism += Get-Content -Path .\TXT\IPV6\CU.txt #Cuba
$StateSponsorsofTerrorism += Get-Content -Path .\TXT\IPV4\KP.txt #North korea
$StateSponsorsofTerrorism += Get-Content -Path .\TXT\IPV6\KN.txt #North korea
$StateSponsorsofTerrorism += Get-Content -Path .\TXT\IPV4\SY.txt #Syria
$StateSponsorsofTerrorism += Get-Content -Path .\TXT\IPV6\SY.txt #Syria
Set-Content -Path .\Curated-Lists\StateSponsorsOfTerrorism.txt -Value $StateSponsorsofTerrorism -Force
[System.String[]]$OFACSanctioned = @()
$OFACSanctioned += Get-Content -Path .\TXT\IPV4\IR.txt #Iran
$OFACSanctioned += Get-Content -Path .\TXT\IPV6\IR.txt #Iran
$OFACSanctioned += Get-Content -Path .\TXT\IPV4\CU.txt #Cuba
$OFACSanctioned += Get-Content -Path .\TXT\IPV6\CU.txt #Cuba
$OFACSanctioned += Get-Content -Path .\TXT\IPV4\KP.txt #North korea
$OFACSanctioned += Get-Content -Path .\TXT\IPV6\KN.txt #North korea
$OFACSanctioned += Get-Content -Path .\TXT\IPV4\SY.txt #Syria
$OFACSanctioned += Get-Content -Path .\TXT\IPV6\SY.txt #Syria
$OFACSanctioned += Get-Content -Path .\TXT\IPV4\RU.txt #Russia
$OFACSanctioned += Get-Content -Path .\TXT\IPV6\RU.txt #Russia
$OFACSanctioned += Get-Content -Path .\TXT\IPV4\BY.txt #Belarus
$OFACSanctioned += Get-Content -Path .\TXT\IPV6\BY.txt #Belarus
$OFACSanctioned += Get-Content -Path .\TXT\IPV4\YE.txt #Yemen
$OFACSanctioned += Get-Content -Path .\TXT\IPV6\YE.txt #Yemen
$OFACSanctioned += Get-Content -Path .\TXT\IPV4\IQ.txt #Iraq
$OFACSanctioned += Get-Content -Path .\TXT\IPV6\IQ.txt #Iraq
$OFACSanctioned += Get-Content -Path .\TXT\IPV4\MM.txt #Myanmar
$OFACSanctioned += Get-Content -Path .\TXT\IPV6\MM.txt #Myanmar
$OFACSanctioned += Get-Content -Path .\TXT\IPV4\CF.txt #Central African Republic (the)
$OFACSanctioned += Get-Content -Path .\TXT\IPV4\CD.txt #Congo, Dem. Rep. of
$OFACSanctioned += Get-Content -Path .\TXT\IPV6\CD.txt #Congo, Dem. Rep. of
$OFACSanctioned += Get-Content -Path .\TXT\IPV4\ET.txt #Ethiopia
$OFACSanctioned += Get-Content -Path .\TXT\IPV6\ET.txt #Ethiopia
$OFACSanctioned += Get-Content -Path .\TXT\IPV4\HK.txt #Hong Kong
$OFACSanctioned += Get-Content -Path .\TXT\IPV6\HK.txt #Hong Kong
$OFACSanctioned += Get-Content -Path .\TXT\IPV4\LB.txt #Lebanon
$OFACSanctioned += Get-Content -Path .\TXT\IPV6\LB.txt #Lebanon
$OFACSanctioned += Get-Content -Path .\TXT\IPV4\LY.txt #Libya
$OFACSanctioned += Get-Content -Path .\TXT\IPV6\LY.txt #Libya
$OFACSanctioned += Get-Content -Path .\TXT\IPV4\SD.txt #Sudan (the)
$OFACSanctioned += Get-Content -Path .\TXT\IPV6\SD.txt #Sudan (the)
$OFACSanctioned += Get-Content -Path .\TXT\IPV4\VE.txt #Venezuela (Bolivarian Republic of)
$OFACSanctioned += Get-Content -Path .\TXT\IPV6\VE.txt #Venezuela (Bolivarian Republic of)
$OFACSanctioned += Get-Content -Path .\TXT\IPV4\ZW.txt #Zimbabwe
$OFACSanctioned += Get-Content -Path .\TXT\IPV6\ZW.txt #Zimbabwe
Set-Content -Path .\Curated-Lists\OFACSanctioned.txt -Value $OFACSanctioned -Force
# Pushing the sources and list to main
git config --global user.email 'spynetgirl@outlook.com'
git config --global user.name 'HotCakeX'
git add --all
git commit -m 'updating Curated lists'
git push