Centos password sniffer
Some time you need to see what customers are typing in as their password on the server to find typos. tcpdump -i eth0 port smtp or port imap or port pop3 -l -A | egrep -i ‘pass=|pwd=|log=|login=|user=|username=|pw=|passw=|passwd=|password=|pass:|user:|userna me:|password:|login:|pass |user ‘ This little command will show you unencrypted passwords on the fly.
Round cube missing date.
If your “Date” column is blank, or if it’s showing incorrect values, then check your php.ini file, and set the correct timezone for your server. A sample timezone setting would be: date.timezone = “Australia/Melbourne” but can be set to other values, if you know it (google for the proper values) See this page for a […]
Telstra Call Forward codes
These codes are used for land lines or mobiles that use Telstra as a provider. Turn on Call Forward: **code*(phone number to forward calls to, including area code)*10# Turn off call Forward: ##code**10# Check if forwarding is on: *#code# Where: “code” is: 21 for “All calls” 61 for “No answer” 62 for “Unreachable”, ie “out […]
Block WordPress Attack with CSF
Edit /etc/csf/regex.custom.pm and add: Code: Select all # wordpress if (($globlogs{CUSTOM4_LOG}{$lgfile}) and ($line =~ /(\S+).*] “POST \/wp-login\.php.*” 200/)) { return (“Failed WordPress login from”,$1,”wordpress”,”20″,”80,443″,”3600″); } Then update /etc/csf/csf.conf and change CUSTOM4_LOG to scan your web server access logs. (If they aren’t doing so already). Eg. for Plesk: /var/www/vhosts/system/*/logs/access_log That rule will block brute force attacks […]
WhatsApp Firewall Ports
If you need WhatsApp Voice Calling to work behind a firewall you will need to open the following ports. TCP: 4244,5222,5223,5228,5242 TCP/UDP: 59234, 50318 UDP: 3478,45395
Reset AP in 887VAW
If you need to get access to the AP in a 887VAW but don’t know the password you can always service-module wlan-ap 0 reset default-config It will reset it back to factory defaults.
How-to Reset Password on Xerox
If you have forgotten a password on a Xerox Workcentre 5225 you won’t find any documentation on Xerox’s website on how to reset the password. If you ask them they will tell you that a technician (who you have to pay) will need to reset it. There is a way around this however. You can […]
How to replace failed hard drive on NetApp FAS
How to replace failed hard drive on NetApp FAS What: NetApp FAS270, FAS2020, FAS2040, FAS2240, FAS2050 Problem: Hard drive has failed and needs replacement. Solution: Disk will have an amber LED on the front of it if it has an issue. You will need a disk of the same capacity as the one you are […]
Using CheckSUR and fix Corruption
These are just notes for myself. I will rewrite this article when i get to the bottom of the issue i’m fixing. https://blogs.technet.microsoft.com/joscon/2010/05/26/using-checksur-and-update-packages-to-fix-corruption/ How to extract msu/msp/msi/exe files from the command line I find these commands quite helpful — maybe you know them already — if not, here you go: Microsoft Hotfix Installer (.exe) setup.exe […]
Fanvil Park Slots BLF
I installed some new Fanvil X5 Phones at a customer and i needed to have some BLF keys as Park Slots and Presence for them. If you set the DSS key to memory Then put in “park+*5901” in the value and set the SubType to BLF/New Call. All done.