Search found 37 matches

by sonik
01 Oct 2019, 15:30
Forum: Linux Tutorials (Ubuntu, CentOS, Debian)
Topic: Zapoznavane s Linux Lekciq 2
Replies: 0
Views: 37

Zapoznavane s Linux Lekciq 2

LINUX-2-02.jpg
LINUX-2-02.jpg (119.71 KiB) Viewed 37 times
LINUX-2-01.jpg
LINUX-2-01.jpg (118.63 KiB) Viewed 37 times
LINUX-2-05.jpg
LINUX-2-05.jpg (157.98 KiB) Viewed 37 times
LINUX-2-04.jpg
LINUX-2-04.jpg (239.78 KiB) Viewed 37 times
LINUX-2-03.jpg
LINUX-2-03.jpg (123.95 KiB) Viewed 37 times
LINUX-2-10.jpg
LINUX-2-10.jpg (187.15 KiB) Viewed 37 times
LINUX-2-09.jpg
LINUX-2-09.jpg (216.86 KiB) Viewed 37 times
LINUX-2-08.jpg
LINUX-2-08.jpg (72.72 KiB) Viewed 37 times
LINUX-2-07.jpg
LINUX-2-07.jpg (170.74 KiB) Viewed 37 times
LINUX-2-06.jpg
LINUX-2-06.jpg (193.95 KiB) Viewed 37 times
LINUX-2-13.jpg
LINUX-2-13.jpg (55.02 KiB) Viewed 37 times
LINUX-2-12.jpg
LINUX-2-12.jpg (224.28 KiB) Viewed 37 times
LINUX-2-11.jpg
LINUX-2-11.jpg (113.2 KiB) Viewed 37 times
by sonik
28 Aug 2019, 10:51
Forum: Linux Tutorials (Ubuntu, CentOS, Debian)
Topic: Zapoznavane s Linux Lekciq 1
Replies: 0
Views: 114

Zapoznavane s Linux Lekciq 1

LINUX-1-2.jpg
LINUX-1-2.jpg (132.48 KiB) Viewed 114 times
LINUX-1-1.jpg
LINUX-1-1.jpg (100.7 KiB) Viewed 114 times
LINUX-1-5.jpg
LINUX-1-5.jpg (237.54 KiB) Viewed 114 times
LINUX-1-4.jpg
LINUX-1-4.jpg (235.87 KiB) Viewed 114 times
LINUX-1-3.jpg
LINUX-1-3.jpg (240.66 KiB) Viewed 114 times
LINUX-1-7.jpg
LINUX-1-7.jpg (90.36 KiB) Viewed 114 times
LINUX-1-6.jpg
LINUX-1-6.jpg (175.72 KiB) Viewed 114 times
by sonik
19 Aug 2019, 12:29
Forum: Linux Tutorials (Ubuntu, CentOS, Debian)
Topic: .tar.gz /var/www and vardump mysql and ssh to remote srv
Replies: 0
Views: 111

.tar.gz /var/www and vardump mysql and ssh to remote srv

First things first. With this small and simple tar command we archive all our /var/www/ data. tar -zcvf archive.tar.gz /var/www Now we dump the MySQL database with the next command. mysqldump -u root -p databasename > /root/backupname.sql You will be asked to write the password for the database user...
by sonik
19 Aug 2019, 12:17
Forum: Windows
Topic: How to change proxy with reg file
Replies: 0
Views: 79

How to change proxy with reg file

Create a new file and call it proxy.reg Run and say yes. Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] "MigrateProxy"=dword:00000001 "ProxyEnable"=dword:00000001 "ProxyHttp1.1"=dword:00000000 "ProxyServer"="http://proxyhost:proxy...
by sonik
18 Aug 2019, 13:33
Forum: Nikto
Topic: config.php: PHP Config file may contain database IDs and pas
Replies: 0
Views: 85

config.php: PHP Config file may contain database IDs and pas

If you need to protect your config files go to httpd.conf and add to the bottom:

Code: Select all

<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
restart httpd after
by sonik
18 Aug 2019, 02:28
Forum: Nikto
Topic: Allowed HTTP Methods: TRACE
Replies: 0
Views: 66

Allowed HTTP Methods: TRACE

If you want to disable TRACE methods go to httpd.conf and add to the bottom:

Code: Select all

TraceEnable Off
by sonik
18 Aug 2019, 02:19
Forum: Nikto
Topic: Retrieved x-powered-by header: PHP
Replies: 0
Views: 65

Retrieved x-powered-by header: PHP

If you want to remove the powered by
Retrieved x-powered-by header: PHP/5.4.16
Go to httpd.conf and add to the bottom

Code: Select all

Header unset X-Powered-By
restart httpd.conf
by sonik
18 Aug 2019, 02:16
Forum: Nikto
Topic: The X-Content-Type-Options header is not set.
Replies: 0
Views: 58

The X-Content-Type-Options header is not set.

For the The X-Content-Type-Options header is not set.
Open httpd.conf and add to the bottom

Code: Select all

LoadModule headers_module modules/mod_headers.so
Header set X-Content-Type-Options nosniff
Restart httpd service
by sonik
18 Aug 2019, 02:11
Forum: Nikto
Topic: The X-XSS-Protection header is not defined.
Replies: 0
Views: 60

The X-XSS-Protection header is not defined.

If after you have checked your website you see this:
The X-XSS-Protection header is not defined.
Go to httpd.conf and add to the bottom

Code: Select all

LoadModule headers_module modules/mod_headers.so
Header set X-XSS-Protection "1; mode=block"
Be shure that Mod_headers is enabled
Restart apache
by sonik
18 Aug 2019, 02:02
Forum: Nikto
Topic: The anti-clickjacking X-Frame-Options header is not present.
Replies: 0
Views: 61

The anti-clickjacking X-Frame-Options header is not present.

If you have this for your site after scanning:
The anti-clickjacking X-Frame-Options header is not present.
Go to apache httpd.conf and add to the bottom of the file

Code: Select all

Header always append X-Frame-Options SAMEORIGIN
After restart the apache server