Category: Linux

Polycom Phones with TFTP Server

This is my experience setting up a Polycom VVX 250 to provision to a TFTP server. Install Debian 11 then run the following command: sudo apt install tftpd-hpa Next I modified the config file located here: sudo nano...

Read More

FTP Bash Script Automated by CronTab

I actually had a lot of trouble with this but in the end this finally worked: #!/bin/bash declare HOST=’192.168.0.20 50015′ declare USER=admin declare PASSWORD=MyPassword123 ftp -nvp $HOST <<EOF ascii user...

Read More

Add User to Sudo Group

Login as root and run this command(change username): usermod -aG sudo username Reference: https://linuxize.com/post/how-to-add-user-to-sudoers-in-debian/  

Read More

Repair Linux Boot Issue

I had an install of Debian that would not boot anymore so I went through the following steps to reinstall GRUB I didn’t have a live CD of Debian so I used Linux Mint however the steps should be similar in Debian Boot Live...

Read More

Clone SD Card or Flash Drive

A quick command to clone a SD card (not tested on flash drive but should work): Note: Your iso image will be as large as your SD card/Flash drive. View the Compressed Clone Image section below if you need a smaller file. cat...

Read More

Penetration Testing

A while back I was tasked with some penetration testing. I plan to put a collection of what I did here. I use Kali Linux for my testing. nmap Here is an example of a command to scan for any open ports on network 192.168.1.0 nmap...

Read More

How to test SMTP communication

Here is a good website to test and make sure your DNS records are set correctly: https://mxtoolbox.com/ A good way to test an email server on windows is to install telnet then connect to the mail server you want to test telnet...

Read More

Firewalld and iptables

On CentOS 7 it looks like firewalld creates iptables rules even though iptables does not seem to be installed. the iptables command works however the service is not installed when trying systemctl status iptables the result says...

Read More
Loading

Categories