Coder Social home page Coder Social logo

Crashes on start with line 10: $'\r': command not found (User converted files to have Windows newlines and Bash complains) about android-pin-bruteforce HOT 1 CLOSED

urbanadventurer avatar urbanadventurer commented on July 18, 2024
Crashes on start with line 10: $'\r': command not found (User converted files to have Windows newlines and Bash complains)

from android-pin-bruteforce.

Comments (1)

urbanadventurer avatar urbanadventurer commented on July 18, 2024

This error is because the files have had windows newlines included. That is both the 0xa (newline) and 0xd (carriage return).

In this hexdump of the script you can see that the newline is just 0xa (newline). This is how it should be and will work for you.

00000000  23 21 2f 62 69 6e 2f 62  61 73 68 0a 23 20 41 6e  |#!/bin/bash.# An|
00000010  64 72 6f 69 64 2d 50 49  4e 2d 42 72 75 74 65 66  |droid-PIN-Brutef|
00000020  6f 72 63 65 0a 23 20 0a  23 20 55 6e 6c 6f 63 6b  |orce.# .# Unlock|
00000030  20 61 6e 20 41 6e 64 72  6f 69 64 20 70 68 6f 6e  | an Android phon|
00000040  65 20 28 6f 72 20 64 65  76 69 63 65 29 20 62 79  |e (or device) by|
00000050  20 62 72 75 74 65 66 6f  72 63 69 6e 67 20 74 68  | bruteforcing th|
00000060  65 20 6c 6f 63 6b 73 63  72 65 65 6e 20 50 49 4e  |e lockscreen PIN|
00000070  2e 0a 23 20 0a 23 20 54  75 72 6e 20 79 6f 75 72  |..# .# Turn your|

You can use the dos2unix command to fix this issue, or instead copy a fresh copy of the project to your phone.

You can read more about this here, https://stackoverflow.com/questions/11616835/r-command-not-found-bashrc-bash-profile/32912867

from android-pin-bruteforce.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.