Skip to main content

Posts

Running npm to get root tools without root access

Perfect! Let’s set up npm on Termux/Linux so you can install global packages without sudo and get real-time script output. This is a clean, “upgraded” setup. --- Step 1: Create a global npm directory mkdir ~/.npm-global This will be the new location for all global npm packages. --- Step 2: Configure npm to use this directory npm config set prefix '~/.npm-global' npm config set foreground-scripts true prefix → tells npm where to install global packages. foreground-scripts → ensures scripts run in the foreground so you can see output immediately. --- Step 3: Add the npm global bin to your PATH Edit your shell profile (~/.bashrc or ~/.zshrc) and add: export PATH="$HOME/.npm-global/bin:$PATH" Then reload your shell: source ~/.bashrc # or source ~/.zshrc Check if it worked: echo $PATH npm -v --- Step 4: Test installing a global package npm install -g nodemon nodemon -v Should install without sudo. Should be executable immediately from any terminal...

Understanding Padding, Width, and Margin in CSS

Sure! Here's the plain text version of your blog post about CSS padding, width, and margin , written for easy copy-pasting into the Blogspot Compose mode (no HTML tags, just text): Understanding Padding, Width, and Margin in CSS When designing web pages, understanding how elements are spaced and sized is essential. Three important CSS properties that control this are padding , width , and margin . Let's break down what each one does. 1. Padding Padding is the space inside an element, between the content and the border. Examples: padding: 10px; – All sides padding: 10px 20px; – Top/Bottom: 10px, Left/Right: 20px padding: 10px 15px 20px 25px; – Top, Right, Bottom, Left Key notes: Padding adds space inside the element. It affects the total size of the box. It does not create space between elements. 2. Width Width sets the horizontal size of the content area. Examples: width: 300px; width: 50%; – Half the width of the parent element width: auto; –...

how to create a blog using html CSS and JavaScript

To adapt the provided HTML for Blogspot, we’ll format it so you can paste it directly into the **HTML editor** of a Blogspot post. Here's the final code: --- ### Blogspot-Compatible Code ```html How to Display Code Safely in Blogspot To display HTML, CSS, and JavaScript code in your Blogspot blog without executing it, follow these steps: 1. Escape the Code Replace special characters in your code with HTML entities: <script> alert('Hello, world!'); </script> 2. Use the Blogger HTML Editor Switch to the HTML View in Blogger's post editor and paste your escaped code there. 3. Style the Code Block Wrap the code in a <pre> or <code> tag and style it with CSS: <pre style="background-color: #f4f4f4; padding: 10px; border: 1px solid #ddd; overflow-x: auto;"> <h1>Hello World</h1> </pre> 4. Use a Syntax Highlighter (Optional) For better readability, include a syntax hig...

Introduction to Hacking with JavaScript: A Beginner's Guide

**Introduction to Hacking with JavaScript: A Beginner's Guide** Hacking, in its most basic form, is the art of exploiting weaknesses in systems or applications to gain unauthorized access or manipulate data. While hacking can sometimes carry negative connotations, it also includes ethical hacking, where professionals identify vulnerabilities to help improve security. JavaScript, a powerful and popular programming language for web development, is also commonly used in hacking—primarily because of its extensive presence in modern websites. In this blog, we'll provide a beginner's introduction to how JavaScript can be used for hacking purposes, with a focus on ethical hacking practices. ### Why JavaScript? JavaScript is the backbone of web development, used on nearly every modern website to add interactivity and enhance the user experience. Due to its widespread usage, vulnerabilities in JavaScript or its implementation can be exploited by malicious actors. Here are some key r...

How to use html in java

To create an APK that can display HTML content in an Android application using Java, you'll need to make use of a `WebView`. Here's a step-by-step guide to accomplish this: 1. **Set Up Your Project:**    - Create a new Android project in Android Studio.    - Use the package name `go.stream.ip`. 2. **Modify Your Layout File:**    - Open `res/layout/activity_main.xml` and define a `WebView` in it. 3. **Update Your `MainActivity.java`:**    - Initialize the `WebView` and load an HTML file or URL. 4. **Add Internet Permission:**    - If you're loading HTML content from a URL, you'll need to add the internet permission in your `AndroidManifest.xml`. Here are the detailed steps and the required code: ### Step 1: Modify Layout File Create or open `res/layout/activity_main.xml` and add a `WebView`: ```xml <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"     andro...

How to find isp gateway

 Certainly, here's a step-by-step guide to finding your ISP gateway: Step 1: Check your Router or Modem - Physically inspect your router or modem. - Look for a label or sticker that contains information about your device. - Search for details such as the default gateway IP address. Step 2: Use the Command Prompt or Terminal - On Windows: Press the Windows key, type "cmd," and press Enter to open the Command Prompt. - On Mac: Open the Terminal from the Applications folder or by searching for it. - On Linux: Open the Terminal from your applications menu. - Type "ipconfig" on Windows or "ifconfig" on Mac and Linux and press Enter. - In the output, locate the "Default Gateway" information. This is your ISP gateway's IP address. Step 3: Access your Router's Web Interface - Open a web browser (e.g., Chrome, Firefox, or Safari). - In the address bar, enter the default gateway IP address you found in Step 2. Typically, it's something like...

An SMTP Service allows you to send and receive SMS texts from any email-transmitting program

What Is an Email to SMS SMTP Service and Why Use SMPP Instead? MOBILE MARKETING 8 MINUTES TO READ What Is an Email to SMS SMTP Service and Why Use SMPP Instead? 9 April 2024 What Is an Email to SMS SMTP Service and Why Use SMPP Instead? A common query we hear a lot in the mobile marketing sector is: “What’s the optimum way to send SMS messages?” Well, for seasoned veterans of the industry, the pluses and minuses of SMPP and SMTP are well-known. But, if you’re new to the tech, it might be perplexing.  Let’s keep it simple: SMPP and SMTP are the only two paths for delivering an SMS message. SMTP (Simple Mail Transfer Protocol) SMS servers allow users to shoot text messages via email. But it was far from perfect. Sending messages could have been faster and more reliable. Moreover, SMTP SMS gateways weren’t built to tackle big volumes of messages, so businesses had to keep looking. SMPP (Short Message Peer-to-Peer) servers offered a much more dependable and proficient solution to SMTP’...
Blog Post: SMS Gateway SMS Gateway: From Email to SMS Text Message Send an email via SMS or MMS gateway By Dan Maffia Updated on November 7th, 2023 All the major wireless carriers in the United States offer a Short Message Service (SMS) gateway, which is a technology bridge that allows one form of communication (email) to conform to the technical requirements of a different form of communication (SMS). One of the typical uses of the SMS gateway is the forwarding of email to a mobile device and vice versa. The gateway platform manages the necessary protocol mapping to bridge the gap between texting and electronic mail systems. About SMS and MMS An email message going through an SMS gateway (aka SMS aggregator) is limited to 160 characters, so it will likely be broken into several messages or truncated if it is longer than that limit. As a result, the recipient may receive your messag...

How to display any name in gmail

Changing Your Sender Name in Gmail: A Step-by-Step Guide Changing Your Sender Name in Gmail: A Step-by-Step Guide Home About Services Contact Do you want to personalize your Gmail experience by changing your sender name? Gmail offers a simple way to do this, allowing you to make your emails more recognizable to your recipients. Here's a step-by-step guide on how to change your sender name in Gmail: Step 1: Open Gmail Start by logging into your Gmail account. If you're not already logged in, enter your credentials. Step 2: Click on the Gear Icon In the upper-right corner of the Gmail interface, you'll find a gear icon. Click on it; this icon represents "Settings." Step 3: Go to "See All Settings" In the dropdo...

Setting up a free SMTP server for sending emails

Setting up a free SMTP server for sending emails typically involves using an email service that offers free SMTP access. Here's a general guide on how to set up SMTP for free: 1. **Choose a Free Email Service**: There are several email providers that offer free SMTP servers, including Gmail, Yahoo Mail, and Outlook.com. Choose the one that suits your needs. 2. **Create an Email Account**: If you don't already have an email account with the chosen provider, sign up and create one. Make sure to remember your email address and password. 3. **Enable SMTP Access**: Some email providers may require you to enable SMTP access for your account. This is often found in your account settings or security settings. Enable SMTP access if required. 4. **Obtain SMTP Server Details**: Your email provider will have specific SMTP server details you need to use. These typically include:  - SMTP Server Address (e.g., smtp.gmail.com for Gmail)    - SMTP Port (e.g., 587 for STARTTLS or 465 for SSL/T...

Bash Cheetsheet

Top 25 created and custom command 4th, February, 2023  The command line is something every developer should learn and implement into their daily routine. It has become a Swiss Army knife of features behind deceptively simple commands, which allow you to gain greater control of your system, become more productive, and much more. For example, you can write scripts to automate daily, time-consuming tasks, and even quickly commit and push code to a Git repository with just a few simple commands. In this post, we’ll look at the Bash Shell (Bourne Again SHell), which is a command-line interface (CLI) and is currently the most widely used shell. This is a light introduction to the most popular commands, when you’re most likely to use them, and how to extend them with options. Later on in this article, you’ll learn how to create your own custom commands (aliases), allowing you to create shortcuts for a single command or a group of commands. When it comes down to it, if you don’t know the comma...

The Android Secret Security Codes You Need to Know

Android is the most popular mobile operating system in the world today. And, if you've been using an Android device for a while, you might already be aware of USSD codes. USSD codes, also colloquially known as "secret codes", are simply codes that are used to unlock hidden actions in your smartphone. Unstructured Supplementary Service Data (USSD) is a user interface protocol that you can use to access hidden features in your smartphone. To run any Android security code, you must input it directly into the dialer. If entered correctly, the code will return a response automatically, or you might have to press Dial. So what are the most common Android security codes? And what do the "secret codes" actually do? 1. *2767*3855# (Wipe Your Device and Reinstall Firmware) This is one of the most effective Android security codes that you can use to quickly wipe all information from your device. Think of it as a factory reset—type this code on your dialer and run it, and i...

How to Create and Connect a Telegram Chatbot

Telegram Chatbot A chatbot is an automated multifunctional assistant, that can receive send and send triggered messages, and with SendPulse, your bot can save information as variables for future usage. Follow the step-by-step instruction to create your first chatbot for Telegram messenger or connect an existing one to SendPulse for further configuration. Contents How to Create a New Bot for Telegram How to Find a Token for an Existing Bot How to Connect a Bot to SendPulse If you already have a bot, skip the first paragraph and take a look at the next section. How to Create a New Bot for Telegram Open Telegram messenger, sign in to your account or create a new one. Step 1. Enter @Botfather in the search tab and choose this bot. Note, official Telegram bots have a blue checkmark beside their name Click “Start” to activate BotFather bot. In response, you receive a list of commands to manage bots. Step 2. Choose or type the /newbot command and send it. Step 3. Choose a name for your bot — ...

How to read an HTML file from a Google Drive

To read an HTML file from a Google Drive link on a website, you can use JavaScript to make an HTTP request and retrieve the file content. Here's an example using the Fetch API: ```html Reading HTML from Google Drive ``` Replace `FILE_ID` in the `fetch` URL with the actual identifier of your HTML file on Google Drive. In the above example, the JavaScript code uses the Fetch API to make an HTTP GET request to the modified Google Drive link. The response is then converted to text using the `response.text()` method. Finally, the retrieved HTML content is assigned to the `innerHTML` property of a ` ` element with the ID "content" on your web page. By running this code, the HTML content from the Google Drive file will be fetched and displayed within the specified ` ` element on your website.

How to create a login form using Google Apps Script with Google Sheets as the backend

To create a login form using Google Apps Script with Google Sheets as the backend, follow these steps: Step 1: Open a new or existing Google Sheets document. Step 2: Go to "Extensions" > "Apps Script" to open the Google Apps Script editor. Step 3: In the script editor, delete any existing code and replace it with the following code: ```javascript function onOpen() { var ui = SpreadsheetApp.getUi(); ui.createMenu('Login') .addItem('Show Login Form', 'showLoginForm') .addToUi(); } function showLoginForm() { var htmlOutput = HtmlService.createHtmlOutputFromFile('login') .setWidth(300) .setHeight(200); SpreadsheetApp.getUi().showModalDialog(htmlOutput, 'Login'); } function processLogin(username, password) { var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet(); var dataRange = sheet.getDataRange(); var values = dataRange.getValues(); for (var i = 1; i var storedUsername = value...

How To Create A Phishing Page Using Termux Account Hacking With Phishinge By Incredible Hacker

  How to create phishing page ,  account Hacking with phishing Hey guys Today I will show you how to create a phishing page using termux. phishing are use for password & account Hacking and social media hacking like facebook, instagram, pinterest, twitter etc. In this video you learn about creating a phishing page using termux. ๐Ÿ‘‡๐Ÿ‘‡GitHub link๐Ÿ‘‡๐Ÿ‘‡ copy link:-  https://github.com/htr-tech/nexphisher ๐Ÿ‘‡๐Ÿ‘‡ Download apk๐Ÿ‘‡๐Ÿ‘‡ Termux:-  https://play.google.com/store/apps/details?id=com.termux ๐Ÿ“ŒType command setp by step $ pkg update $ pkg upgrade $ apt install python -y $ apt install python2 -y $ apt install git -y $ apt install openssh $ git clone  https://github.com/htr-tech/nexphisher $ ls $ cd nexphisher $ ls $ chmod +x nexphisher $ ls $ bash setup $ bash nexphisher ๐Ÿ›‘ You can see nexphisher tool opened ๐Ÿ“Choose option:- select your social media site ๐Ÿ“Choose option:- select your phishing page ๐Ÿšจ TRUN ON YOUR MOBILE HOTSPOT FIRST ๐Ÿ“ Choose option:- select "2" (ngrok) Now sen...

To link an HTML file to a Python script

To link an HTML file to a Python script, you typically need to use a web framework that can handle the HTTP requests and responses. One popular framework for this purpose is Flask. Here's a step-by-step guide on how to link an HTML file to a Python script using Flask: 1. Install Flask: Make sure you have Flask installed. You can install it using pip by running the following command in your terminal or command prompt: ```    pip install flask    ``` 2. Create a new directory for your project and navigate to it in your terminal or command prompt. 3. Create a new Python script, let's say `app.py`, and open it in a text editor. 4. Import the necessary modules:    ```python    from flask import Flask, render_template, request    ``` 5. Create a Flask application:    ```python    app = Flask(__name__)    ``` 6. Define a route for your HTML file:    ```python    @app.route('/')    def index():        return render_template('index.html')    ``` 7. Save the following ...

Android Common Codes

# Part1 Testing Menu *#*#4636*#*# Display Info about device *#*#4636*#*# Factory Restore *#*#7780*#*# Camera Information *#"#34971539*#*# Completely Wipe device, install stock firmware 2767*3855# * Backup all media files *#*#273283*255*663282*#†# Wireless LAN Test ##232339## OR ##526## Change Power button behavior ##7594## Quick GPS Test ##1472365## Test mode for service activity ##197328640## Wi-Fi Mac Address ##232338## Another GPS test ##1575## Packet Loopback Test ##0283## Audio Test ##0673## OR ##0289## Vibration and Backlight test ##0842## Check touch screen version ##2663## LCD test ##0*## Touch Screen test ##2664## Proximity sensor test ##0588## RAM version ##3264## Bluetooth test ##232331## Field Test ##7262626## Check Bluetooth device address ##232337## Google Talk service monitoring *##8255## PDA, Hardware, Phone and RF Call Date info ##4986*2650468## PDA and Phone firmware check ##1234## FTA hardware version ##2222## FTA software version *##1111## Displays IMEI number ...

BillCipher

Today I will be showing you how to use BillCipher since i never add any read.me to my repo. Note: Script can be updated at anytime. Command apt update && apt upgrade -y pkg update && pkg upgrade -y pkg install git pkg install pip pkg install pip2 pkg install pip3 pkg install python pkg install python2 pkg install python3  git clone https://github.com/dan998/BillCipher cd BillCipher   pip install -r requirements.txt pip3 install -r requirements.txt python3 billcipher.py