VAPT Note
VAPT Note
vim /etc/sysctl.conf
sysctl -p
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
---
( check for list -unit files service disabled and enbaled for command )
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
-
vim /etc/sysconfig/sshd
SSH_USE_STRONG_RNG=0
# SSH_USE_STRONG_RNG=1
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
-
vim /etc/ssh/sshd_config
(click on up key and search cipler and keying enter and note file copy paste )
KexAlgorithms [email protected],ecdh-sha2-nistp521,ecdh-sha2-
nistp384,ecdh-sha2-nistp256,diffie-hellman-group-exchange-sha256
Ciphers [email protected],[email protected],aes128-
[email protected],aes256-ctr,aes192-ctr,aes128-ctr
MACs [email protected],[email protected],umac-128-
[email protected],hmac-sha2-512,hmac-sha2-256,[email protected]
.
:wq!
sshd -t
systemctl restart sshd
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
---------
vncserver -list
vncserver
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
--------------
netstat -tnldup
( check for x server remove vnc )
less /etc/sysctl.conf
vim /etc/sysctl.conf
sysctl -p