EricksonAtHome / blackeye

BLACKEYE v2.0 | New Phishing tool with localtunnel
http://program.blackeye.cloud/
GNU General Public License v3.0
355 stars 387 forks source link

Powershell start error #70

Open tkgo11 opened 1 month ago

tkgo11 commented 1 month ago
blackeye.sh: line 2: $'\r': command not found
blackeye.sh: line 3: syntax error near unexpected token `$'{\r''
'lackeye.sh: line 3: `open_page() {
Lexicon99k commented 3 weeks ago

The error you encountered suggests that Windows PowerShell does not recognize the bash command because the Bash shell is not installed or properly configured in your system. Here's how you can resolve the issue:

Solution 1: Install Windows Subsystem for Linux (WSL) and Run Bash

If you want to run bash commands on Windows, you'll need to install the Windows Subsystem for Linux (WSL). Here’s how to set it up:

  1. Enable WSL:

    • Open PowerShell as Administrator and run the following command:
      wsl --install
    • This command installs WSL and the default Linux distribution (usually Ubuntu). If it's already enabled, it will update WSL.
  2. Restart Your PC.

  3. Run Bash Commands:

    • After installation, open the Ubuntu terminal (or your chosen distribution), navigate to the folder where blackeye.sh is stored, and run the command:
      bash blackeye.sh

    You might need to move the blackeye.sh file to your Linux environment if it's currently in your Windows directories.

THESE ARE WHAT YOU HAVE TO DO NEXT...

Now that you have Ubuntu installed and an account created, follow these steps to run your blackeye.sh script:

1. Navigate to the Folder Containing blackeye.sh

2. Make blackeye.sh Executable

Before running the script, ensure it has execute permissions. Run this command:

   chmod +x blackeye.sh

3. Run the Script

Now that the script has the right permissions, you can run it by executing:

   ./blackeye.sh

4. Install Dependencies (if needed)

If the script relies on any dependencies that aren't installed yet, you might get some error messages. You can use the following command to install missing packages in Ubuntu:

   sudo apt update && sudo apt install <package-name>

Common packages that might be needed are git, curl, or wget.

After following these steps, your blackeye.sh script should run in the Ubuntu environment. It worked for me, if you run into issues, reach out to ChatGPT.