Friday, November 8, 2019
Every Linux System has three options to clear cache without interrupting any processes or services.
1. Clear PageCache only.
# sync; echo 1 > /proc/sys/vm/drop_caches
2. Clear dentries and inodes.
# sync; echo 2 > /proc/sys/vm/drop_caches
3. Clear PageCache, dentries and inodes.
# sync; echo 3 > /proc/sys/vm/drop_caches
[Read more…]
Wednesday, September 25, 2019
IPtables Rules
Saving Rules
Debian Based
netfilter-persistent save
RedHat Based
service iptables save
To Stop / Start / Restart the Firewall,
If you are using RHEL / CentOS / Fedora Linux, the enter the following command.
# service iptables stop
# service iptables start
# service iptables restart
List out all of the active iptables rules with verbose
iptables -n -L -v
List out all of the active iptables rules with numeric lines and verbose
iptables -n -L -v –line-numbers
Print out all of the active iptables rules
iptables -S
List Rules as Tables for INPUT chain
iptables -L INPUT
Print all of the rule specifications in the INPUT chain
iptables -S INPUT
Show Packet Counts and Aggregate Size
iptables -L INPUT -v
To display INPUT or OUTPUT chain rules with numeric lines and verbose
iptables -L INPUT -n -v
iptables -L OUTPUT -n -v --line-numbers
Delete Rule by Chain and Number
iptables -D INPUT 10
Delete Rule by Specification
iptables -D INPUT -m conntrack --ctstate INVALID -j DROP
Flush All Rules, Delete All Chains, and Accept All
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -t nat -F
iptables -t mangle -F
iptables -F
iptables -X
Flush All Chains
iptables -F
Flush a Single Chain
iptables -F INPUT
[Read more…]
Saturday, March 9, 2019
Image does not exist: https://i0.wp.com/imanudin.net/wp-content/uploads/2014/09/policyd-groups.jpg?resize=825%2C154
ມີຂັ້ນຕອນດັ່ງນີ້:
1. ເລືອກ Policies > Groups.
2. ໃນ action ເລືອກ add
3.ໃສ່ຄຳວ່າ list_domain ໃນຫ້ອງ Name ສ່ວນໃນຫ້ອງ comment ປະຫວ່າງເປົາ ແລ້ວກົດ Submit Query
4. ກັບຄືນມາລາຍການ ແລ້ວເລືອກ list_domain>Action>Change>ຫ້ອງ Disabled ເລືອກເປັນ no >Submit Query ແລ້ວກັບຄືນ
Image does not exist: https://i0.wp.com/imanudin.net/wp-content/uploads/2014/09/policyd-groups.jpg?resize=825%2C154
5. ເລືອກ list_domain>Action>Add ໃຫ້ໃສ່ຂໍ້ມູນ Name= @domain.com >Submit Query>Back to group #domain ແມ່ນໝາຍເຖິງໂດເມນຂອງທ່ານ
Image does not exist: https://i0.wp.com/imanudin.net/wp-content/uploads/2014/09/policyd-members-groups.jpg?resize=825%2C161
[Read more…]
Image does not exist: http://vavai.net/wp-content/uploads/2014/02/policyd_logo-300×130.png
ມີຂັ້ນຕອນຕິດຕັ້ງດັ່ງນີ້:
1. ເປີດໃຫ້ Policyd ທຳງານ
su - zimbra
zmprov ms `zmhostname` +zimbraServiceInstalled cbpolicyd +zimbraServiceEnabled cbpolicyd
cd
exit
2.ເປີດໃຊ້ Policyd WebUI ດ້ວຍຜູ້ໃຊ້ root
cd /opt/zimbra/httpd/htdocs/ && ln -s ../../cbpolicyd/share/webui
ຈາກນັ້ນໄປແກ້ໄຂໄຟລ໌ /opt/zimbra/cbpolicyd/share/webui/includes/config.php ແລ້ວເອົາເຄື່ອງໝາຍ “#” ໃສ່ທາງໜ້າ $DB_DSN ແລ້ວເພີ່ມອັນໃໝ່ໃສ່ກ່ອນ $DB_USER ດ້ວຍຂໍ້ມູນລຸ່ມນີ້.
[Read more…]
Thursday, March 7, 2019
Image does not exist: https://i2.wp.com/imanudin.net/wp-content/uploads/2014/09/thunderbid-different-identity.jpg?resize=493%2C437
ຖ້າໃຊ້ຮຸ່ນ 8.5 ຂຶ້ນມາເຮັດຕາມຂັ້ນຕອນນີ້ໄດ້:
1. ເຂົ້າໃຊ້ຜູ້ໃຊ້ zimbra
su - zimbra
zmprov mcf zimbraMtaSmtpdSenderLoginMaps proxy:ldap:/opt/zimbra/conf/ldap-slm.cf +zimbraMtaSmtpdSenderRestrictions reject_authenticated_sender_login_mismatch
[Read more…]
Wednesday, February 27, 2019
Image does not exist: https://i.ytimg.com/vi/7iYrw4VSjSM/hqdefault.jpg
ເປັນການປ້ອງກັນການສົ່ງເມວທີ່ບໍ່ໄດ້ມີການລັອກອິນກ່ອນ ຊຶ່ງມີຂັ້ນຕອນດັ່ງນີ້:
1. ກວດເບິ່ງ zimbraMtaSmtpdRejectUnlistedSender ແລະ zimbraMtaSmtpdRejectUnlistedRecipient ໄດ້ເປີດໃຊ້ໃນ zimbra mta?
zmprov gacf | egrep zimbraMtaSmtpdRejectUnlistedSender
zmprov gacf | egrep zimbraMtaSmtpdRejectUnlistedRecipient
ຖ້າຜົນຮັບອອກມາເປັນແບບນີ້ ແມ່ນຍັງບໍ່ໄດ້ເປີດໃຊ້
zimbraMtaSmtpdRejectUnlistedSender: no
zimbraMtaSmtpdRejectUnlistedRecipient: no
2. ເປີດໃຊ້ງານດ້ວຍຄຳສັ່ງ
zmprov mcf zimbraMtaSmtpdRejectUnlistedRecipient yes
zmprov mcf zimbraMtaSmtpdRejectUnlistedSender yes
[Read more…]
Sunday, February 24, 2019
Image does not exist: https://securityonline.info/wp-content/uploads/2019/02/Gorecon.png
ມີຫຼາຍຄຳສັ່ງ ແລະ ມີຄຸນລັກນະໃນການຫາຂໍ້ມູນດັ່ງນີ້:
1 – [+] Dns Lookup
2 – [+] Whois Lookup
3 – [+] Nmap scan
4 – [+] Zone Transfer Lookup
5 – [+] Shared DNS server lookup
6 – [+] Web Scrapper
7 – [+] Reverse DNS lookup
8 – [+] Subnet calculator
9 – [+] Admin panel finder (with Screenshots)
10 – [+] Directory Bruteforce (with Screenshots)
11 – [+] Configuration Files Finder
12 – [+] HTTP Header Information
13 – [+] GeoIp Lookup
14 – [+] Find/Analyze Content Management System (CMS)
15 – [+] Email Hunter (find emails of the company)
16 – [+] Use Rapid7 Open Data’s Project Sonar for Finding Subdomains)
17 – [+] Use Virustotal API for Finding subdomains
18 – [+] Use Threatcrowd’s API for Finding subdomains
19 – [+] Run All scans
[Read more…]