-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathintrusion
134 lines (100 loc) · 2.83 KB
/
intrusion
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
Virtual hosting::
VIRTUAL HOSTING:-
Entries:-
1.sites-enabled/000-default.conf:-
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/var/www/khelplayrummy" (path)
ServerName local.kpr.com
ServerAlias local.kpr.com
# ErrorLog "/var/log/httpd/domain1.com-error_log"
# CustomLog "/var/log/httpd/domain1.com-access_log" common
</VirtualHost>
2.etc/apache2.conf:-
<Directory /var/www/khelplayrummy>
RewriteEngine On
RewriteCond $1 !^(index\.php|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
</Directory>
3.gedit/etc/hosts-
127.0.0.1 local.kpr.com(domain name)
4. Enabling mod_rewrite:-
sudo a2enmod rewrite
apache restart:-
sudo service apache 2 restart;
5. giving chmod and chown rights:-
sudo chown -R root:root khelplayrummy
sudo chmod -R 777 khelplayrummy
6. Install php GD extension for your php version:-
sudo apt-get install php7.0-gd
7. Map DB:-
download sql dump from 30 server
in Sqlyog-
--create new db; (create database local_kpr;)
--select local_kpr (your db)
--restore from sql dump and select your .sql file/ -->execute.
i.e. create a local db.
--map the db in configuration.php of /kpr directory.
--check for hosts(127.0.0.1),user and pwd fields too.
8.install curl:- (if req)
sudo apt-get install php-curl
9. sudo service apache 2 restart;
10. hit domain.
Dns server::
types
configure in windows and ubuntu
dig utitlity
for ubuntu open source bind
types
https://en.wikipedia.org/wiki/Comparison_of_DNS_server_software
configure bind::
https://opensource.com/article/17/4/build-your-own-name-server
https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-a-private-network-dns-server-on-ubuntu-16-04
complete dns and virtual hosting::
https://www.digitalocean.com/community/tags/dns?type=tutorials
firewall types and creations
baston host
screen subnet
mutihome
packet filtering
packet level filtering
statefull multiple level firewall
spoofing protocol
vpn
proxy based
tor
GTunnel
IPS
signature based
intrusion based (AI model)
snort heartbleed sigature
stick and snoot tools
anonmaloulsy based
honeyspot
network based ids
host based ids
evasion tech....
polymorphic code
ascii shell code
unicode
encrypted and compressed payloads
session splicing
denial of service
invalid RST packets
URG Flag
honey pot
project honeypot website
types:
low interaction
high interaction
honeyd org website opensource project
canary website(low interaction honeypots)
canary token org(website)
shodan.io//honeyscore.shodan.io (website detecting honeypost and )
1:dionaea//2:conpot opensource honeypot
conpot.org (honeynet project)
addition reourcess::
awesome honeypots github repo
honeynet.org (website) porject sections