-->

ABOUT US

Our development agency is committed to providing you the best service.

OUR TEAM

The awesome people behind our brand ... and their life motto.

  • Kumar Atul Jaiswal

    Ethical Hacker

    Hacking is a Speed of Innovation And Technology with Romance.

  • Kumar Atul Jaiswal

    CEO Of Hacking Truth

    Loopholes are every major Security,Just need to Understand it well.

  • Kumar Atul Jaiswal

    Web Developer

    Techonology is the best way to Change Everything, like Mindset Goal.

OUR SKILLS

We pride ourselves with strong, flexible and top notch skills.

Marketing

Development 90%
Design 80%
Marketing 70%

Websites

Development 90%
Design 80%
Marketing 70%

PR

Development 90%
Design 80%
Marketing 70%

ACHIEVEMENTS

We help our clients integrate, analyze, and use their data to improve their business.

150

GREAT PROJECTS

300

HAPPY CLIENTS

650

COFFEES DRUNK

1568

FACEBOOK LIKES

STRATEGY & CREATIVITY

Phasellus iaculis dolor nec urna nullam. Vivamus mattis blandit porttitor nullam.

PORTFOLIO

We pride ourselves on bringing a fresh perspective and effective marketing to each project.

  • npm react toastify in reactjs


     

    A Pure Javascript Library

     

    React Toastify is a popular library for creating toast notifications in React applications. It provides a simple and customizable way to display temporary messages or alerts to the user.

    To use React Toastify, you need to install the library first. You can do this by running the following command in your React project directory:
     

    npm i react-toastify

     

    Once the installation is complete, you can import the necessary components and start using React Toastify in your application. Here's an example of how you can display a basic toast notification:

     

    import React from "react";
    import { ToastContainer, toast } from "react-toastify";
    import "react-toastify/dist/ReactToastify.css";
    
    function Thetoastify() {
      const login = () => {
        toast("Login Successful");
      };
    
      const signup = () => {
        toast.success("Registration Successfull", {
          position: "top-left",
        });
      };
      return (
        <div>
          <div className=" flex justify-center  mt-56 space-x-5 text-white">
            <button
              className=" bg-blue-600 pt-2 pb-2 pr-5 pl-5  rounded-md cursor-pointer "
              onClick={login}
            >
              Login
            </button>
    
            <button
              className=" bg-blue-600 pt-2 pb-2 pr-5 pl-5  rounded-md cursor-pointer "
              onClick={signup}
            >
              Signup
            </button>
          </div>
    
          <ToastContainer position="top-right" />
        </div>
      );
    }
    
    export default Thetoastify;
    
    

     

     

     

     In this example, we import the ToastContainer and toast components from 'react-toastify'.If you want you can also import the CSS file for styling the toast notifications.

    Inside the Thetostify function, we define a notify function that calls the toast function with the desired message or login successfull message. When the button is clicked, it triggers the notify function, which displays the toast notification.

     

    Now we are calling <Thetoastify /> component in App.js file.

     

     

    import { Route, Routes } from "react-router-dom";
    import Thetoastify from "./components/Thetoastify";
    import Navbar from "./components/Navbar";
    
    
    
    
    
    export default function App() {
      return (
        <>
     <Navbar />
        <Routes>
         
          <Route path='/' element={<Thetoastify />} />
      
        </Routes>
    
        </>
      )
    }
    

     



    The ToastContainer component is used to wrap all the toast notifications. It should be placed once in your application, typically at the root level, to ensure the toasts are rendered properly.

    You can customize the appearance and behavior of the toast notifications by passing different options to the toast function or by using the ToastContainer component's props. The React Toastify documentation provides more information on the available options and customization possibilities.

    Remember to add the ToastContainer component to your application's layout or root component so that it can render the toast notifications correctly.

    That's a basic example of using React Toastify in your React application. You can explore more features and options offered by the library to enhance your toast notifications further.


    Result

      


     

    Disclaimer

     

    All tutorials are for informational and educational purposes only and have been made using our own routers, servers, websites and other vulnerable free resources. we do not contain any illegal activity. We believe that ethical hacking, information security and cyber security should be familiar subjects to anyone using digital information and computers. Hacking Truth is against misuse of the information and we strongly suggest against it. Please regard the word hacking as ethical hacking or penetration testing every time this word is used. We do not promote, encourage, support or excite any illegal activity or hacking.

     

     

  • About Google Bard

     


     

    Google Bard is a large language model (LLM) chatbot developed by Google AI. It is trained on a massive dataset of text and code, and can generate text, translate languages, write different kinds of creative content, and answer your questions in an informative way. Bard is still under development, but it has learned to perform many kinds of tasks, including

    •     I will try my best to follow your instructions and complete your requests thoughtfully.
    •     I will use my knowledge to answer your questions in a comprehensive and informative way, even if they are open ended, challenging, or strange.
    •     I will generate different creative text formats of text content, like poems, code, scripts, musical pieces, email, letters, etc. I will try my best to fulfill all your requirements.


    Bard is available in English, Japanese, and Korean. It can be accessed through the Google Bard website or through the Google Assistant.

     


     



    Bard is still under development, and it is important to remember that it is not perfect. It may sometimes give inaccurate or inappropriate responses. If you encounter any problems with Bard, please report them to Google so that they can be fixed.

     





     

    Bard is a powerful tool that can be used for a variety of purposes. It can be used for research, education, entertainment, and more. Bard is still under development, but it has the potential to be a valuable asset to anyone who uses it.

     




    Here are some of the things that Bard can do:

    •     Answer your questions in an informative way, even if they are open ended, challenging, or strange.
    •     Generate different creative text formats of text content, like poems, code, scripts, musical pieces, email, letters, etc.
    •     Translate languages.
    •     Write different kinds of creative content.
    •     Code.
    •     Solve math problems.
    •     Help you with your writing needs.
    •     And much more!


     


     

    Bard is still under development, but it has the potential to be a powerful tool for anyone who uses it.

     

     Thank you.

     

     

     

  • Multiplication table of user input in React js

     

    Multiplication table of user input in React js

     

    Multiplication table of user input in React js

     

    Today in this blog we will aware about Multiplication table means how to generate table of 5, 6, 7, 8 etc in react js but this time we will generate table by user input so dont waste time lets do it but lets recap what is exactly React js.


    React

    Certainly! ReactJS is a JavaScript library developed by Facebook for building user interfaces. It allows developers to create reusable UI components and efficiently manage the state of their applications. Here are some key aspects of ReactJS:
     

    Component-Based Architecture: ReactJS follows a component-based architecture, where the user interface is divided into small, reusable components. Components encapsulate their own logic, state, and rendering, making it easier to build and maintain complex user interfaces.
     

    Virtual DOM: ReactJS uses a virtual representation of the DOM (Document Object Model), known as the Virtual DOM. When the state of a component changes, React updates the Virtual DOM.
     

    JSX: JSX is a syntax extension for JavaScript used in React. It allows developers to write HTML-like code within JavaScript, making it easier to describe the structure and appearance of components. JSX code is transpiled to regular JavaScript using tools like Babel before being executed in the browser.

     
    Hooks: React introduced Hooks in version 16.8 as a way to use state and other React features in functional components. Hooks allow developers to write reusable logic and manage state within functional components without the need for class components. The most commonly used hooks are useState for managing state and useEffect for handling side effects such as fetching data or subscribing to events.
     

    React Router: React Router is a popular routing library for React applications. It enables developers to create single-page applications with multiple views and handles routing between different components based on the URL.
     

    State Management: React provides a flexible ecosystem of state management solutions. While React's built-in state management (useState ) is suitable for managing local component state, more complex applications may benefit from additional state management libraries like Redux. These libraries help manage global application state and provide predictable ways to update and access the state.

    ReactJS has gained widespread popularity due to its performance, reusability, and declarative approach to building user interfaces. It has large community.



    NOTE - Here we will Tailwind CSS for designing..


    Generating Table

     

    To create a multiplication table of 5 in ReactJS based on user input, you can follow these steps:
     

    # Set up a React component with a state to track the user input and the resulting multiplication table.
    # Render an input field where the user can enter a number.
    # Add an event handler to capture the user input and update the component's state.
    # Use the entered number to generate the multiplication table and store it in the component's state.
    # Render the multiplication table below the input field.

    Here's an example implementation:



    import React, { useState } from 'react'
    
    function Table() {
    
    const [number, gettbl] = useState('');
    
    const rows = [];
        for(let i = 1; i <= 10; i++)
        {
        rows.push(
            <tr key={i}> 
            <td className='text-red-600 ' >{number} * {i} =  {i * number }</td>
           
            </tr>
        );
        }
    
    for(let i = 1; i <= 10; i++) {
        const result = i * number;
        console.log(`${number} * ${i} = ${result}`);
    }
         
    const getTable = (event) => {
        gettbl(event.target.value);   // for updating the value
    }
    
      
    
      return (
        <div className="">
        <div className="grid justify-center  grid-cols-1 lg:grid-cols-2 gap-2 mt-48  h-96 ml-[40%]  ">
           
          <div className="w-full max-w-xs mt-auto md:grid-rows-6 ">
    <form className="bg-white shadow-md rounded px-8 pt-6 pb-8 mb-4"
    
    >
      <div className="mb-4">
        
        
        <label className="block text-gray-700 text-sm font-bold mb-2" htmlFor="number">
        Number
        </label>
    
        <input className="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" 
        type="number" 
        placeholder="Enter Number For Table" 
        onChange={getTable }
        name="number"
         /> 
    
      </div>
      <div className='mt-3 flex px-auto  ' >
      <p>{rows}</p>
      </div>
    </form>
     
    </div>
        </div>
      </div>
    );
    }
       
    export default Table
    



     


     

    This component maintains the "number" state to store the user input and the "gettbl" state to store the generated multiplication table. The "getTable" function is called whenever the user enters a number. It updates the number state and generates the multiplication table using the "Table" function. The resulting table is stored in the table state and rendered in the table element below the input field.


    Here rows.push is that Appends new elements to the end of an array, and returns the new length of the array.   

    Remember to include this component in your main application and render it where desired.

     

     

    Read More - How to add loader or spinner in react js?


    Disclaimer

     

    All tutorials are for informational and educational purposes only and have been made using our own routers, servers, websites and other vulnerable free resources. we do not contain any illegal activity. We believe that ethical hacking, information security and cyber security should be familiar subjects to anyone using digital information and computers. Hacking Truth is against misuse of the information and we strongly suggest against it. Please regard the word hacking as ethical hacking or penetration testing every time this word is used. We do not promote, encourage, support or excite any illegal activity or hacking.

     

     

  • How to add loader or spinner in reactjs

     

    How to add loader or spinner in reactjs

     

    How to add loader or spinner in reactjs


    React Loader Spinner is a library for adding loading spinners or progress indicators to React applications. It provides a set of customizable spinner components that can be used to indicate that a particular operation is in progress, such as loading data or performing an asynchronous task.


    React Loader Spinner offers a wide range of spinner types, including classic spinners like a circle or bar, as well as more complex ones like a pulsating circle or a rotating cube. The library is highly configurable, allowing you to customize the size, color, and animation speed of the spinners.


    React Loader Spinner is designed to be easy to use and integrate into React projects. It can be installed via npm and imported into your React components. Once imported, you can simply add the desired spinner component to your JSX code and configure its props to suit your needs.
    In summary, React Loader Spinner is a useful library for adding loading spinners to React applications, providing a variety of customizable spinner types and making it easy to integrate them into your code.
     

    To add a loader spinner in a React project, you can use an existing library like react-loader-spinner or create your own spinner component.

    Here's an example of how to use the react-loader-spinner library:

     

     First Search on Browser "React loader spinner"

     

     

    How to add loader or spinner in reactjs

     

    then as you can see there, there is a first link of npmjs.com, open it. But dont worry i will provide you direct link (check below)

    https://www.npmjs.com/package/react-loader-spinner

     

     
    After opening it, this is a page of npmreactjs official site so where we can install any type of package library so copy from here pkg

    npm i react-loader-spinner

     

    How to add loader or spinner in reactjs

     

     

     
    Then, in your vs code terminal paste it and install it

     

     

    How to add loader or spinner in reactjs

     

     So as you can see installation done so whether is it install or not to check it in your "package.json"

     

    How to add loader or spinner in reactjs

     

     

     Now finally after installation of pkg library we will follow some steps to complete the project

    Step 1 - Then, we will do all type of coding in "App.jsx" file. So import the pkg first. 


    import { Circles } from 'react-loader-spinner';



    Step 2 - Now  we will use useEffect() hooks inside "function App()" and useState() too.



      const [loading, setLoading] = useState(false)
      useEffect(() => {
        setLoading(true)
        setTimeout(() => {
          setLoading(false)
        }, 2000)
      }, [])
    
    
    



    This code will render a TailSpin spinner with timeout of 2 seconds (1000 ms = 1 sec).



    Step 3 - Now we import useState and useEffect after importing react-loader-spinner


    import { useState, useEffect } from 'react';


    Step 4 - Now inside return, we will write react loader circle and adding some content for displaying after loading the circle spinner.



    <div className='App'>
    {
     loading ? 
     <Circles color={'#D0021B'} loading={loading} size={100} />
     :
    
      <div>
      <h1>Hello World </h1/>
      <p>Myself Kumar Atul Jaiswal CEO and Founder of Hacking Truth. </p>
     </div>
    }
    
    
    </div>
    




    This code will render a TailSpin spinner with #D0021B color, 100px height and width and loading is true when your page is refreshing.


    Full Code



    import React from 'react'
    import { Circles } from 'react-loader-spinner';
    import { useState, useEffect } from 'react';
    
    
    function App() {
    
      const [loading, setLoading] = useState(false)
      useEffect(() => {
        setLoading(true)
        setTimeout(() => {
          setLoading(false)
        }, 2000)
      }, [])
     
    
    
      return (
        <div>
         
         
       <div className='App'>
       {
        loading ? 
        <Circles color={'#D0021B'} loading={loading} size={100} />
        :
    
        <div className='flex-1' >
        <h1>Hello World</h1>
        <p>Myself Kumar Atul Jaiswal CEO and Founder of Hacking Truth and She is miss Khushboo Kashyap Co-Founder of Hacking Truth</p>
        </div>
       }
    
     
      </div>
     
        
        </div>
      )
    }
    
    export default App
    



    How to add loader or spinner in reactjs


    Result -


    How to add loader or spinner in reactjs


    If you have any components... so use it like this



    import Navbar from './components/Navbar';
    import { Route, Routes } from "react-router-dom";
    import Discover from "./components/Discover";
    
    import Signin from "./components/Signin";
    import Dashboard from './components/Dashboard';
    import Profileupdating from './components/Profileupdating';
    
    import 'react-toastify/dist/ReactToastify.css';
    
    import { Circles, ThreeDots  } from 'react-loader-spinner';
    import { useEffect, useState } from 'react'; 
    
    
    function App() {
    
      const [loading, setLoading] = useState(false)
      useEffect(() => {
        setLoading(true)
        setTimeout(() => {
          setLoading(false)
        }, 2000)
      }, [])
     
    
    
      return (
        <div>
         
         
       <div className='App'>
       {
        loading ? 
        <Circles color={'#D0021B'} loading={loading} size={100} />
        :
    
       
       
        <>
    
        <Navbar />
    
    <Routes>
      {/* <Route path='/' element={ <Home /> } /> */}
      <Route path='/' element={<Signin />} />
      <Route path='/discover' element={<Discover /> } />
    
      <Route path='/dashboard' element={<Dashboard />} />
      <Route path='/signin/:id' element={<Signin /> } />
      <Route path='/profileupdating/:id' element={<Profileupdating /> } />
      
       
    </Routes>
    
    </>
    
       }
    
     
      </div>
     
        
        </div>
      )
    }
    
    export default App
    
    




    Disclaimer

     

    All tutorials are for informational and educational purposes only and have been made using our own routers, servers, websites and other vulnerable free resources. we do not contain any illegal activity. We believe that ethical hacking, information security and cyber security should be familiar subjects to anyone using digital information and computers. Hacking Truth is against misuse of the information and we strongly suggest against it. Please regard the word hacking as ethical hacking or penetration testing every time this word is used. We do not promote, encourage, support or excite any illegal activity or hacking.

     

     

  • Why we need of Virtualization technology



     

    Why we need of Virtualization technology ?

     

    Virtualization technology is a way to create multiple virtual versions of a physical computer or other hardware resources, such as a server or network. This is done by using specialized software, called a hypervisor or virtual machine monitor, which creates a layer of abstraction between the hardware and the virtual machines.

    Virtualization technology allows multiple operating systems to run on a single physical machine simultaneously, without interfering with each other. Each virtual machine has its own virtualized hardware, including CPU, RAM, storage, and network interfaces, and can run its own applications and services as if it were a physical machine.

    Virtualization technology has many benefits, including improved hardware utilization, easier software deployment, increased flexibility, and improved disaster recovery capabilities. It is widely used in data centers and cloud computing environments, as well as in desktop and mobile computing environments.



    How to enable virtualization technology in bios?


    The steps to enable virtualization technology in BIOS may vary slightly depending on the motherboard and BIOS version, but generally, the following steps should work:

       

    # Start or restart your computer and enter the BIOS setup by pressing the appropriate key during the boot process (this key is usually displayed on the screen, and commonly it's F2 or Del key).
     

    # Navigate to the "Advanced" or "System Configuration" or "Security" tab, depending on your motherboard manufacturer and BIOS version.

    # Look for an option called "Intel Virtualization Technology", "Intel VT-x", "Virtualization Extensions", "AMD-V", or something similar.

    # Change the setting to "Enabled" or "On".

    # Save the changes and exit the BIOS setup.

        Restart your computer and the virtualization technology should now be enabled.

    It's important to note that not all CPUs support virtualization technology, and some older motherboards or BIOS versions may not have this option. Also, be aware that enabling .



    Disclaimer

     

    All tutorials are for informational and educational purposes only and have been made using our own routers, servers, websites and other vulnerable free resources. we do not contain any illegal activity. We believe that ethical hacking, information security and cyber security should be familiar subjects to anyone using digital information and computers. Hacking Truth is against misuse of the information and we strongly suggest against it. Please regard the word hacking as ethical hacking or penetration testing every time this word is used. We do not promote, encourage, support or excite any illegal activity or hacking.

     

     

  • GRUB grand unified bootloader

     

    GRUB grand unified bootloader

     

    G-R-U-B

     

    GRUB (short for Grand Unified Bootloader) is a popular boot loader used on many Linux and Unix-like operating systems. It is responsible for loading the operating system kernel and other necessary files, and it is typically the first software component that runs when a computer boots up.

    GRUB provides a menu interface that allows the user to select which operating system or kernel to boot, and it supports a wide range of file systems, including the popular ext4 file system used by many Linux distributions. It also allows users to specify boot options, such as kernel parameters or alternate boot locations.


    Also Read - FAT32 vs NTFS


    One of the advantages of GRUB is its flexibility and configurability. It can be customized to meet specific system requirements, and it is often used as part of the boot process for custom Linux distributions and other specialized systems. Additionally, GRUB is open source software, meaning that its source code is freely available for inspection and modification by developers and users.

     


    Disclaimer

     

    All tutorials are for informational and educational purposes only and have been made using our own routers, servers, websites and other vulnerable free resources. we do not contain any illegal activity. We believe that ethical hacking, information security and cyber security should be familiar subjects to anyone using digital information and computers. Hacking Truth is against misuse of the information and we strongly suggest against it. Please regard the word hacking as ethical hacking or penetration testing every time this word is used. We do not promote, encourage, support or excite any illegal activity or hacking.

     
  • FAT32 vs NTFS

     

    FAT32 vs NTFS

     

    File system is a structure that helps computer or operating system organize data on hard disk. If you are installing hard disk drive then you have to parallelize and format it, in windows based operating system app usually But there are 2 options available.


    One is fat and the other is nuts

    FAT file allocation table or FAT mark was created by Donald in 1977.


    File size: FAT32 has a maximum file size limit of 4GB, whereas NTFS can support much larger file sizes, up to 16 exabytes (EB).

    Partition size: FAT32 has a maximum partition size of 8TB, while NTFS has a maximum partition size of 256TB.

    And after this FAT32 came and FAT32 means that the data is saved in 32 bits chunks and the new technology file system was created by Microsoft and IBM together, It was introduced in the Windows NT platform in 1993, since then it is seen in the Windows based server operating system Windows XP and subsequent operating systems, so let's take a little more information about these two and between them Also know what is the difference


    In FAT32, the file size can be maximum of 4GB minus 2 bytes, it can create a file of approximately 4GB whereas in NTFS you can.


    You can create a file of 244 bytes or 16 terabytes minus 64 kilobytes, that is, the maximum size of an NTFS file is around 16 terabytes.

    FAT32 systems are less fault tolerant, the operating system maintains 2 copies of the file allocation table and can be restored from a backup if corrupted, such as in case of a power failure, while NTFS provides more fault tolerance. Is and maintains the law of changes in this disk and tries to repair any corruption such as if there is a power failure, NTFS auto repairs the file system and that too in the background so that in most cases Doesn't know if this auto repair feature is repairing NTFS or not



    FAT32 vs NTFS





    Apart from this, FAT32 systems are less secure, only share permissions are available for this security, due to which your systems are secured from the network, that is, the upper stored data of your system can be accessed only with permissions but This does not happen locally and all the files stored on the device that you will be accessing the systems And can use the folder in any way, while NTFS is a very secure system, with the help of file permissions, you can define which users can access the locally kept files and folders to what extent. Yes, NTFS provides security both locally and over the network


    FAT32 does not have any compression features i.e. you cannot save space by compressing the data.

    While NTFS provides compression features

    Apart from this, you can convert your FAT32 system to FAT32 at any time while you cannot convert NTFS to FAT32.

    In NTFS and FAT32 you can choose the file system according to your requirement where FAT32 is simple file system and It is popular in storage media like memory cards, USB pen drives and MP3 players or flash drives because of its simplicity but you need features like security and compression, in our case you have to choose NTFS.

     


    Disclaimer

     

    All tutorials are for informational and educational purposes only and have been made using our own routers, servers, websites and other vulnerable free resources. we do not contain any illegal activity. We believe that ethical hacking, information security and cyber security should be familiar subjects to anyone using digital information and computers. Hacking Truth is against misuse of the information and we strongly suggest against it. Please regard the word hacking as ethical hacking or penetration testing every time this word is used. We do not promote, encourage, support or excite any illegal activity or hacking.

     

  • WHAT WE DO

    We've been developing corporate tailored services for clients for 30 years.

    CONTACT US

    For enquiries you can contact us in several different ways. Contact details are below.

    Hacking Truth.in

    • Street :Road Street 00
    • Person :Person
    • Phone :+045 123 755 755
    • Country :POLAND
    • Email :contact@heaven.com

    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation.