Easily change files on your Linux system with a simple command.

This command will change the default port for the SSH server on your Linux machine. jason@jason-desktop:~$ perl -pi -e ‘s/^#?Port 22$/Port 443/’ /etc/ssh/sshd_configjason@jason-desktop:~$ perl -pi -e ‘s/^#?Port 22$/Port 443/’ /etc/ssh/sshd_config Then run this command to restart the SSH server. jason@jason-desktop:~$ sudo service ssh restartjason@jason-desktop:~$ sudo service ssh restart This will work very well. This is … Read more

Ebay website running scripts to port scan visitors.

The Ebay online-shopping website is running scripts to port scan users and determine if they are using a VPN and possibly attempting fradulent activity. But this is a compromise of security and trust. This can be blocked though. There is a lot of information about this here: https://blog.nem.ec/2020/05/24/ebay-port-scanning/. Judging by the information in that blog … Read more

Stealth Linux code that can run on a machine and open a port invisibly.

This code that I found: http://paste.scratchbook.ch/view/6f74b58f can run on a Linux machine and open a port invisibly. This allows access to a Linux server without the process showing in process manager and on a port scan of the machine. This might be controversial thing to post on a Linux focused website, but this might be … Read more

How to see if a port is open on a Linux system using netcat.

The netcat command is a program for querying network connections. This little program may be used to query whether a port is open on a Linux system or not. Here I am determining whether port 443 is open on this Linux Mint machine. homer@deusexmachina ~ $ nc -zv localhost 443 Connection to localhost 443 port … Read more

How to scan for vulnerable ports on a host with the Kali Linux distribution.

Scanning for vulnerable ports is easy with the Kali Linux distribution. Here is a simple port scan of my Windows Server 2012 R2 laptop host OS using Kali Linux. homer@kali:~$ sudo nmap 192.168.1.6   Starting Nmap 6.46 ( http://nmap.org ) at 2014-05-28 20:44 EST Nmap scan report for 192.168.1.6 Host is up (1.0s latency). Not … Read more

How using ssh is a better way to access your remote machine. How to do this over port 443.

Using the ssh command to connect to a remote computer is a very good way to access your home machine when you are at college or at work. But sometimes you are behind an academic proxy and this blocks your ssh access. I had that problem and I used putty to connect to my home … Read more