Posts

After install setup Fedora 30

Image
In this tutorial, Things to Do After Fresh Installation Fedora 30. Let do it! TO DO 1. Update your Fedora Always keep your system updated to the latest version of packages. $ sudo dnf update 2. Change the hostname $ sudo hostnamectl status # view current hostname $ sudo hostnamectl set-hostname --static "VivoS15" # set up new hostname 3. DNF tweak edit /etc/dnf/dnf.conf file $ sudo cp /etc/dnf/dnf.conf /etc/dnf/dnf.conf_ORIG [huupv@localhost ~]$ cat /etc/dnf/dnf.conf [main] gpgcheck=1 installonly_limit=3 clean_requirements_on_remove=True fastestmirror=true deltarpm=true 4. Install RPM fusion repository $ sudo dnf update --refresh $ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm $ sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm 5. Player and codecs $ sudo dnf install youtube-dl vlc $ sudo dnf in

Checks for open/closed ssh ports using nmap command

Image
In this tutorial, How to checks all ports if they are closed or open and if the current ssh version? Using nmap command. Read man nmap page. The first, you have install nmap. For ubuntu $ sudo apt-get install nmap For centos $ sudo yum install nmap For example, checks for open/closed ports and current ssh version [huupv@huupv huuphan.com]$ sudo nmap -sV -p22 --version-all  localhost The output Checks for open/closed ssh ports using nmap command as below

Zimbra FOSS Two-Factor Authentication

Image
Two Factor Authentication for Zimbra Open Source edition. Look like Buy Now The work will consist of the following parts: A patch to the login screen to support entering the 2FA code. PrivacyIDEA and PrivacyIDEA LDAP Proxy docker containers to run and maintain the 2FA toekens on your Zimbra* Zimlet for integrating in the web-ui of Zimbra (SOAP based) with extension on the server (java soap api) Install documentation All released under GNU GPLv2. More details zimbra FOSS Two-Factor Authentication.

Leverage browser caching for Nginx

In this tutorial, How to configure Leverage browser caching for nginx. What does Leverage browser caching mean? Page load times can be significantly improved by asking visitors to save and reuse the files included in your website. Reduces page load times for repeat visitors Particularly effective on websites where users regularly re-visit the same areas of the website Benefit-cost ratio: high Access needed You should add that inside of an existing server block. For example, I will add that inside server block /etc/nginx/sites-enabled/default file. server {     listen       80;     server_name  localhost;     location / {         root   /usr/share/nginx/html;         index  index.html index.htm;     }         location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {             add_header Cache-Control "public, no-transform";             expires         7d;     } } You can test speed up site On GTmetrix

New reverse proxy tool Modlishka

You can Bypass Two-Factor Authentication and Automate Phishing Attacks by New Reverse Proxy Tool call Modlishka. A Polish cybersecurity researcher has released a tool called Modlishka designed for pen testers The tool will help the pentesters, but may also facilitating the APT Groups in phishing Modlishka Feature: Phishing tool that bypasses Gmail 2FA Support for majority of 2FA authentication schemes Support for majority of 2FA authentication schemes (by design). No website templates (just point Modlishka to the target domain - in most cases, it will be handled automatically). Full control of "cross" origin TLS traffic flow from your victims browsers (through custom new techniques). Flexible and easily configurable phishing scenarios through configuration options. Pattern based JavaScript payload injection. Striping website from all encryption and security headers (back to 90's MITM style). User credential harvesting (with context based on URL parameter passe

Zimbra share Tips & Tricks pdf

Zimbra guilde to see how to use? Blog zimbra share Top 15 Tips & Tricks - Happy new year. Download the guide now to see how to (with easy-to-follow steps and video demos): Search in Zimbra Import Into and Export From Zimbra Change Your Zimbra Preferences Change Your Zimbra Theme Set Zimbra Email and SMS (text) Reminders Enable Mandatory Spellcheck Sort Email Enable Two-Factor Authentication (2FA) Create an Appointment with the Mini Calendar Create an Email Alias, Distribution List or Contact Group Launch an Email in a Separate Window Turn on Zimbra’s Activity Stream Switch from Conversation View to Message View Share Your Zimbra Calendar Outside Your Organization Share in Zimbra Link download zimbra Tips & Tricks pdf https://bit.ly/2Mj76xx Source: https://bit.ly/2FyE5NG

Linux bin bash shell

The most popular shell in Linux? It is Linux Bash shell. The path and executable of the Bash shell is /bin/bash. /bin/bash is a binary. Script File Interpreter Opensource and Linux script file are very important. In bash script use #! / bin/bash specifies which will be interpreted with the bash shell or interpreter /bin/bash #!/bin/bash Alternative Shells Bash shell is very popular shell but there are a lot of alternative shells. SH is very basic shell which provides fundamental features of the Bash. KSH is Korn shell which is similar to the BASH CSH is mainly designed from C programming language. Difference Between #!/bin/sh and #!/bin/bash Bash shell is stored in the /bin/bash path. /bin/sh provides the SH shell which is cirppeled down version of the BASH. Detailed information man bash or man /bin/bash

Zimbra Client host rejected Access denied

In this tutorial, How to solved problem "Zimbra Client host rejected Access denied". Zimbra client host rejected Access denied error log Dec 19 01:21:28 mail postfix/amavisd/smtpd[5106]: NOQUEUE: reject: CONNECT from unknown[192.168.1.113]: 554 5.7.1 <unknown[192.168.1.113]>: Client host rejected: Access denied; proto=SMTP Dec 19 01:21:28 mail postfix/amavisd/smtpd[5106]: lost connection after CONNECT from unknown[192.168.1.113] Dec 19 01:21:28 mail postfix/amavisd/smtpd[5106]: disconnect from unknown[192.168.1.113] Allow the network " 192.168.1.0/24 " of client host for zimbraMtaMyNetworks attribute [zimbra@mail ~]$ zmprov ms `zmhostname` zimbraMtaMyNetworks "127.0.0.0/8 192.168.1.0/24 [::1]/128 [fe80::]/64" The change " smtpd_client_restrictions " and " smtpd_relay_restrictions " with content below [zimbra@mail ~]$ /opt/zimbra/postfix/conf/master.cf.in The edit master.cf.in file with content below %%uncomme

Zimbra ERROR zclient IO ERROR

When you get this error, you can not execute any Zimbra zmprov commands? in this tutorial, How do i fix error as below [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused [] INFO: Retrying request ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused) The causes this error? Zimbra zmprov is not configure to get results from ldap. you need set " zimbra_zmprov_default_to_ldap " to TRUE To checking setting using by zmlocalconfig command $ zmlocalconfig | grep zmprov If set to false then reconfigure it to true flag as below $ zmlocalconfig -e zimbra_zmprov_default_to_ldap=true Recheck the settings: $ zmlocalconfig |grep zmprov

Zimbra blacklist email based via subject

In this tutorial, I will configure blacklist email based via subject. The recently, I receive an email with the subject "new girls beautiful photo" which contains spam and fake link. how to Zimbra blacklist email with the subject this. Create file chandu.cf in SpamAssassin   folder as root vi /opt/zimbra/data/spamassassin/rules/chandu.cf The content as below header     SPAM_BANNED     Subject =~ / new girls beautiful photo /i describe   SPAM_BANNED     Subject contains me new photo score      SPAM_BANNED     40.0 Save and give owner user and group zimbra chown zimbra:zimbra /opt/zimbra/data/spamassassin/rules/chandu.cf Restarting zmamavisdctl  service su - zimbra -c "zmamavisdctl restart" Have a good nice!