• Home
  • Hacking & Security
    • Network Hacking
    • Web Hacking
    • Social Engineering
    • Kali Linux
    Submit An Article
  • Courses
    • All Courses
    • Bundles
    • Masterclass
    • VIP Membership
    • FAQ

    Popular Courses

  • Shop
    • Hardware Bundles
    • Wireless Adapters
    • Pentesting Tools
    • Security
    • Accessories
    • Clothing
    • Books
    • All
  • Competition
  • Services
    Penetration Testing
    Consulting
    Code Review
    One on one Training
    Online Courses
    VPN
  • Blog
      • Cart

    VIP Membership Masterclass
    Got a question?
    [email protected]
    RegisterLogin
    zSecurity
    • Home
    • Hacking & Security
      • Network Hacking
      • Web Hacking
      • Social Engineering
      • Kali Linux
      Submit An Article
    • Courses
      • All Courses
      • Bundles
      • Masterclass
      • VIP Membership
      • FAQ

      Popular Courses

    • Shop
      • Hardware Bundles
      • Wireless Adapters
      • Pentesting Tools
      • Security
      • Accessories
      • Clothing
      • Books
      • All
    • Competition
    • Services
      Penetration Testing
      Consulting
      Code Review
      One on one Training
      Online Courses
      VPN
    • Blog
        • Cart

      Kali Linux

      How To Make Your Own Private Search Engine

      • Posted by Aniket Das
      • Date August 4, 2020

      Hello everyone, this article is going to be a very interesting topic not only to the ethical hackers/cybersecurity researchers but also towards the other people as here we will learn how can we make our own search engine.

      While there are a variety of privacy-focused search engines available like DuckDuckGo, StartPage and Yippy, nothing can offer the complete trust offered by creating one’s own search engine. For complete trust and security, Searx can be used as free metasearch engine which can be hosted locally and index results from over 80 different search engines, this includes major search engines and site-specific searches like Bing, Google, Reddit, Wikipedia, Yahoo and Yandex.

      So, let’s see how to make your own search engine using searX for more privacy & zero trust issues.
      Here I am going to explain the installation process of two different platforms – Kali Linux and Windows 10.

       

      Kali Linux:

      Kali Linux – Before processing, we should have Python3 installed in our Kali Linux.

      Step 1: Let’s install Serax. Open terminal and type the below command:

      git clone https://github.com/asciimoo/searx

       

      Step 2: Now we have to go inside the Searx directory. Type:

      cd searx

       

      Step 3: Lets list the files inside the directory. Type:

      ls
      

       

      Step 4: Now we have to install the requirements.txt file inside the searx directory. Type:

      pip3 install -r requirements.txt

       

      Step 5: Now lets list the files in the directory one again. Type:

       ls

       

      Step 6: Now we will find another searx directory and we will have to navigate into this directory. Type:

       ls searx


      Step 7: List files inside the directory one again. Type:

       ls

       

      Step 8: Now we have to start the webapp.py file. Type:

      python3 webapp.py

       

      Step 9: A link will be generated. Now copy the link, paste it into the browser and press enter.

      Congratulations! You have successfully made your own search engine, now enjoy it without having any privacy issues.

       

      Windows 10:

      Windows 10 – Before installing, make sure you have installed Python in your machine.


      Step 1: First we have to install Ubuntu in our machine. Go to the Microsoft Store and search for Ubuntu. Now install it and lunch.

       

      Step 2: You will be prompted to create a username and password.

       

      Step 3: Now you are all set up and running Ubuntu. Now type the following two commands:

      sudo apt update / sudo apt-get update
      sudo apt-get upgrade

      These two commands will update the system software repositories and upgrade any out-of-date software.

       

      Step 4: Now you are ready to install searx. Type the below command:

      sudo apt-get install git build-essential libxslt-dev python-dev python-virtualenv python-babel zlib1g-dev libffi-dev libssl-dev

      This will install Searx source code and other libraries required by the software to compile and run.

       

      Step 5: Move to the directory where searx should be installed. Type:

      cd /usr/local/

       

      Step 6: Download Searx source code by typing the below command:

      sudo git clone https://github.com/asciimoo/searx.git

       

      Step 7: Now create a new user account by running the command:

      sudo useradd searx -d /usr/local/searx

       

      Step 8: Assign the same user account to the Searx directory. Type the command:

      sudo chown searx:searx -R /usr/local/searx
      
      
      
      

      Step 9: Switch to the newly created Searx user account. Type:

      sudo -u searx -i

       

      Step 10: Now you have to activate the virtual environment. Type:

      virtualenv searx-ve

       

      Step 11: Update the tool using this command:

      ./manage.sh update_packages

       

       

      Step 12: Finally you are ready to launch Searx with a Python script:

      python searx/webapp.py

       

      After running the command you will get a link which you have to copy and paste in the web browser and press enter.

       

      Congratulations! You have successfully implemented your own private search engine, now enjoy it without having any privacy issues. It is recommended to use searX in Kali Linux for better result and easy installation process.

      To stop Searx go to Ubuntu terminal and do Ctrl + C

      If you want to know more about searX then go to this link: https://searx.me/

      Thank you.

      • Share:
      author avatar
      Aniket Das

      I am a self-learning ethical hacker and very passionate about cybersecurity, especially in web application pen-testing.

      Previous post

      Kage - GUI to Generate & Manage Metasploit Payloads
      August 4, 2020

      Next post

      Passive Reconnaissance With OSRFramework
      August 7, 2020

      You may also like

      maxresdefault_1_370x208
      How to get started with Ethical Hacking
      5 November, 2022
      maxresdefault_370x208
      Linux File Permissions
      14 September, 2022
      zs-interview
      CyberNews Interview “skilful ethical hackers don’t have to hold college degrees”
      8 April, 2022

        5 Comments

      1. Vedant
        Vedant Bhalgama
        August 5, 2020
        Log in to Reply

        Nice Man!

        I will surely try it and tell you!

        • Aniket Das
          August 5, 2020
          Log in to Reply

          Thanks!
          Hope to see a positive response from you 🙂

      2. Prathik S Hanji
        October 30, 2020
        Log in to Reply

        When I type in:
        python3 webapp.py
        in my kali machine, it shows error, which goes like this:
        ERROR:searx:server.secret_key is not changed. Please use something else instead of ultrasecuritykey.
        And nothing happens thereon..
        Is there anything else to be installed??
        Thank you.

        • nikunj chavan
          December 22, 2020
          Log in to Reply

          same prob..

      3. pressanykey
        November 28, 2020
        Log in to Reply

        Hi thanks for sharing this , can you update the post with a tutorial how to use searx trough apache2, tried everything but cant get that working together.

        Thanks in advanced

      Leave A Reply Cancel reply

      You must be logged in to post a comment.

      Categories

      • Cryptography
      • Cryptography
      • CTF
      • Forensics
      • Hacking & Security
      • Hardware
      • IOT
      • Kali Linux
      • Network Hacking
      • News
      • OSINT
      • Post Exploitation
      • Post Exploitation
      • Privacy
      • Programming
      • Security
      • Social Engineering
      • Uncategorized
      • Web Hacking

      Popular Posts

      Got a Blank Screen After Importing Kali in Virtual Box ? Here’s How To Fix It
      25Jan2018

      Connect with us

      • Facebook
      • Twitter
      • LinkedIn
      • Instagram
      • Youtube

      “Everything related to ethical hacking

      & cyber security in one place.”

      Quick Links

      • Home
      • About Us
      • Hacking & Security
      • Download Custom Kali
      • Contact
      • FAQ

      Services

      • Penetration Testing
      • Consulting
      • Code Review
      • One on one training
      • VPN
      • VIP Membership

      Company

      • About Us
      • Contact
      • Vulnerability Disclosure

      Support

      • FAQ
      • Forums

      Copyright © 2022 Z IT SECURITY LTD t/a zSecurity. All rights reserved.

      • Privacy
      • Shipping
      • Refunds
      • Terms

      Contribute

      Share your knowledge with the world

      SUBMIT AN ARTICLE

      Login with your site account

      Lost your password?

      Not a member yet? Register now

      Register a new account


      Are you a member? Login now

      Enroll in this course to access this lesson!

      All of our courses include:

      ✔ Lifetime, unlimited access to course materials & training videos.

      ✔ Watch online or download lectures for offline use.

      ✔ Verifiable certificate of completion from zSecurity, signed by the course instructor, Zaid.

      ✔ Get answers from our Support Team within a maximum of 15 hours.

      ✔ Unlimited Updates.

      Get free 1 month VIP membership per course with:

      ✔ Live mentorship and Q&A session with the course instructor, Zaid.

      ✔ Instant support from community members through our private discord channel.

      ✔ Daily updates with the latest tutorials & news in the hacking world.

      ✔ Daily resources like CTFs, bug bounty programs, onion services and more!

      ✔ Access our VIP community & connect with like-minded people.

      ✔ Discounts on other zSecurity products and services.

      We are using cookies to give you the best experience on our website. This includes but is not limited to:

      • Storing your settings and preferences.
      • Remember your access information
      • Track website performance and make our website more relevant to you.

      You can find out more about which cookies we are using or switch them off in settings.

      Privacy Overview

      This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

      Strictly Necessary Cookies

      Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

      3rd Party Cookies

      This website uses Google Analytics and Linkedin to collect anonymous information such as the number of visitors to the site, and the most popular pages.

      Keeping this cookies enabled helps us to improve our website.

      Please enable Strictly Necessary Cookies first so that we can save your preferences!

      Powered by  GDPR Cookie Compliance