Posts

Showing posts from July, 2023

divi extra theme logo size

  width =" 7.1 " height =" 3.2 "/>

ImunifyAV permission denied after upgrade

  Thanks to  solution Try to go cd /usr/local/CyberCP/public/imunifyav chmod +x ./bin/execute.py That fixed my problem

mounting disk read write in fstab

 UUID=01D31B45737F43D0  /media/bumkailashkumar/C  ntfs-3g  defaults,windows_names,locale=en_US.utf8  0 0 to check UUID sudo blkid /media/bumkailashkumar/C mount  point where you want to mount Using the File Manager For those using a desktop version of Ubuntu, or one of its offical derivatives, the easiest and quickest way of mounting NTFS or FAT32 partitions is from the file manager: Nautilus in Ubuntu, Thunar in Xubuntu, Dolphin in Kubuntu and PCManFM in Lubuntu. Simply look in the left pane of the file manager for the partition you wish to mount and click on it - it will be mounted and its contents will show up in the main pane. Partitions show with their labels if labelled, or their size if not. Unless you require your Windows partition - or a NTFS/FAT32 partition for data shared with Windows - mounted every time you boot up for one of the reasons given below, mounting from the file manager in this way should suffice. If you are using a  Wubi  version of Ubuntu and you wish to brows

Get specific record-types from specified DNS server

  nslookup -q=<record type> <host> <DNS server> nslookup -q=MX stackexchange.com 8.8.4.4

convert direct traffic to organic

 <!DOCTYPE html> <html> <body> <input type="text" value="<?php echo $_POST["FU"]?>" id="value-fu" hidden> <body>Redirecting to file download... Please wait.. if not redirected <a href="/">click here to continue</a><meta http-equiv="refresh" content="1;url=https://www.google.com/url?sa=t&source=web&rct=j&url=https://sarkariexam.io/&ved=2ahUKEwih-pG6x5PtAhWUheYKHfXyCmQQFjAAegQIAxAC&usg=AOvVaw2bR99pvY4ZCm9pAqXQWYJ9" /> <script> var fu = document.getElementById('value-fu').value var date = new Date(); date.setTime(date.getTime()+(300*1000)); var expiry = '; expires=' + date.toUTCString(); document.cookie = `ul=${fu}`+expiry+'; path=/'; console.log('cookie', document.cookie) </script> <body> </html> you will get the code by searching thee main domain <a href="https://com.net.ai/" j

How to get list of all domains

  cat /etc/virtual/domainowners | cut -d ":" -f 1

http to https

  RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] Header always set Content-Security-Policy "upgrade-insecure-requests;"

default cgi page showing

Image
  I should check the third option right? yes thank you bro working now

How to solve "sign_and_send_pubkey: signing failed: agent refused operation"?

  error message is not pointing actual issue. Issue resolved by chmod 700 ~/.ssh chmod 600 ~/.ssh/*

mount: wrong fs type, bad option, bad superblock on

if disk is formated on newwer version of xfs or OS and trying to mount on older version of OS than this will mot work will mount only on newwer OS

IMAP NIO zimbra

  NIO implementation helps reduce the mailboxd memory footprint with a small CPU overhead. NIO eliminates the need of 1 (IMAP connection)-to-1 (server thread) mapping and helps reduce the memory footprint of the ZCS server. It is useful when there are many concurrent IMAP users. The exact benefit depends on the number of IMAP users/server and number of live connections/users. The saving is linear to the number of active IMAP connections that are in a single mailbox server. Example for 10,000 concurrent IMAP accounts: With NIO : If there are 10,000 IMAP accounts, each of the IMAP accounts has an IMAP client which maintains 3 to 4 connections. There are at most 100 to 200 Java threads required in the mailboxd process to handle requests from those clients. If one thread uses 256k memory, it uses 25 to 50MB Java memory. Regarding the CPU and depending on the load, the overhead usage can range from 0 to 20%. Since ZCS is not CPU bounded, the CPU increase should not be a significant factor t

Set capability for /opt/zimbra/common/libexec/slapd

 Set capability for /opt/zimbra/common/libexec/slapd SELINUX=disabled # SELINUXTYPE= can take one of these three values: #     targeted - Targeted processes are protected, #     minimum - Modification of targeted policy. Only selected processes are protected.  #     mls - Multi Level Security protection. SELINUXTYPE=targeted reboot then flush firwewall iptables -F systemctl disable firewalld restart zimbra services

ModuleNotFoundError: No module named 'selenium.webdriver.chromium'

 The `ModuleNotFoundError: No module named 'selenium.webdriver.chromium'` error usually occurs when the "chromium" webdriver is not installed or it is not installed properly. Here are a few things that you can try to resolve this issue: 1. Install the "chromium" webdriver using pip: You can try installing the "chromium" webdriver using the following command:    ```    pip install selenium.webdriver.chrome.service    ```    This should install the "chromium" webdriver and resolve the issue. 2. Check the version of Selenium: You can check the version of Selenium that you have installed on your system using the following command:    ```    pip show selenium    ```    If the version is lower than 3.0, you should update it to the latest version using the following command:    ```    pip install -U selenium    ``` 3. Check the system PATH variable: Make sure that the path to the directory containing the "chromium" webdriver is added t

How to open link in external browser instead of in-app (instagram)?

You can add this script to head to redirect to chrome: <script>         var userAgent = navigator.userAgent || navigator.vendor || window.opera;         var str = navigator.userAgent;         var instagram = str.indexOf("Instagram");         var facebook = str.indexOf("FB");         if (/android/i.test(userAgent) && (instagram != -1 || facebook != -1) ) {             document.write("<a target=\"_blank\" href=\"https://yourdomain.com\" download id=\"open-browser-url\">Please wait. Proceed to Chrome</a>");             window.stop();             let input = document.getElementById('open-browser-url');             if (input) {                 input.click();             }         }     </script>