This blog is NOT OFFICIAL website of Kali Linux. We just share Tutorials to learn Cybersecurity.

Ghost Framework -- Control Android Devices Remotely

Home

Ghost Framework is an Android post-exploitation framework that uses an Android Debug Bridge to remotely access and control Android device. Ghost Framework 7.0 gives us the power and convenience of remote Android device administration.

Ghost Framework Remotely control Android on Kali Linux

We can use this framework to control old Android devices which have turn on the debug bridge in the "Developer options". Now this becomes very harmful because an attacker gets the full admin control on the vulnerable Android device.
In our this detailed tutorial we will practically learn how we can use the Ghost Framework to take control of Android device from our Kali Linux system. So we start from cloning the Ghost Framework from GitHub by using following command:

pip3 install git+https://github.com/EntySec/Ghost

In the following screenshot we can see that Ghost is downloaded on our system.

installing ghost from github

Now ghost framework is ready to use on our system, we can run it from any where in our terminal by only the ghost command:

ghost

The following screenshot shows ghost console is up on our system and it is successfully running.

Ghost framework on Kali Linux

Now we can see the help options of ghost framework by simply running help command on the console.

help

The help option will be like following screenshot:

Ghost help menu

Now we can connect it with vulnerable Android devices. Now how we get a IP address of an old vulnerable Android devices? Shodan is here. Shodan is a grate search engine for searching the devices connected to internet. We already have a tutorial on Shodan.

In Shodan search engine we have to search for "Android Debug Bridge", as we have shown in following screenshot:

Shodan Android Debug Bridge

Here we can see over 2.5k search results. Every device is vulnerable for ghost and those devices are connected to internet. If ghost shows failed to connect then Shodan is showing us an offline device. We also can try this with our Android device.

From here we can pick any IP address and use with connect command. For an example we select the highlighted IP address and connect it with ghost by using following command:

connect 168.70.49.186

In some seconds it will be connected as we can see in the following screenshot.

Ghost connected to target

Here we can see we are connected with the IP address. Now we can run anything from Ghost Framework. We can see the commands we can run after connecting by using help command here.

help

In the following screenshot we can see a lot of things that we can do with this device.

ghost commands

Now we can do almost everything with this device.

What we can do with Ghost Framework

  • See device activity information.
  • See device battery state.
  • See device network information.
  • See device system information.
  • See device system information.
  • Clicks the specified x and y axis.
  • Control device keyboard.
  • Press/Simulate key-press on target device.
  • Open URL on device.
  • Control device screen.
  • Take device screenshot.
  • Open device shell.
  • Types the specified text on the device.
  • Upload local file.
  • Download remote file.
  • Show Contacts Saved on Device.
  • Reboot device.

Ghost Framework has a simple and clear UX/UI. It is easy to understand. Ghost Framework can be used to remove the remote Android device password if it was forgotten. It is also can be used to access the remote Android device shell without using OpenSSH or other protocols.

Love our articles? Make sure to follow us on Twitter and GitHub, we post article updates there. To join our KaliLinuxIn family, join our Telegram Group. We are trying to build a community for Linux and Cybersecurity. For anything we always happy to help everyone on the comment section. As we know our comment section is always open to everyone. We read each and every comment and we always reply.

author-img
Kali Linux

Comments

175 comments
Post a Comment
  • Unknown photo
    UnknownMay 1, 2020 at 9:18 PM

    failed to start ghost server! any fix

    Delete Comment
    • Kali Linux photo
      Kali LinuxMay 1, 2020 at 10:27 PM

      Can you please provide the full information of the error. Because our ghost framework is works smoothly.

      Delete Comment
      • Unknown photo
        UnknownMay 2, 2020 at 9:19 AM

        It doesn't show any information. Only says
        "[-] Failed to start Ghost Server!"

        Delete Comment
        • Kali Linux photo
          Kali LinuxMay 2, 2020 at 10:12 AM

          Try to remove it using the uninstall.sh bash file in to the ghost directory and then delete the directory. Do the complete setup from the git clone again. Try this

          Delete Comment
          • Unknown photo
            UnknownMay 2, 2020 at 3:41 PM

            I tried bro. Tried many times. but didn't work. Will try to install it on a fresh Kali Linux and let you know. But as I saw on YouTube tutorials, many of users are facing the same issue.

            Delete Comment
            • Kali Linux photo
              Kali LinuxMay 2, 2020 at 7:11 PM

              have you try to install it on android using Termux?

              Delete Comment
              • Unknown photo
                UnknownMay 3, 2020 at 6:16 AM

                My question is It doesn't show any information. Only says
                "[-]No Internet connection!"

                Delete Comment
                • Unknown photo
                  UnknownMay 9, 2020 at 11:39 PM

                  You add network repositories,regular Repositories and Source Repositories in source list in this location etc/apt/source.list

                  Delete Comment
                  • AnonymousMay 10, 2020 at 5:06 PM

                    If it fails to start ghost server it means you haven't run the install.sh and thus has not installed the adb package.As for internet connection issue, I found that
                    if you dont have the iputils-ping package installed, It will always say no internet connection.Hope this helps

                    Delete Comment
                    • narasimha photo
                      narasimhaSeptember 27, 2020 at 9:37 AM

                      bro you try to parrot os definetly it's work parrot os have tools more without error it's best os for for bigenners

                      Delete Comment
                      • Unknown photo
                        UnknownDecember 4, 2020 at 12:27 AM

                        showing such error....
                        [*] Connecting to 183.179.79.239:5555...
                        [-] Failed to connect to 183.179.79.239:5555!

                        Delete Comment
                        • Kali Linux photo
                          Kali LinuxDecember 4, 2020 at 11:06 PM

                          Did you got this IP address from Shodan?

                          Delete Comment
                          • scxpn photo
                            scxpnDecember 6, 2020 at 2:28 AM

                            I got the IP address from Shodan, and I had the same error

                            Delete Comment
                            • Kali Linux photo
                              Kali LinuxDecember 6, 2020 at 9:23 AM

                              The developer said that Shodan shows many offline IP. This is not in our hand. We asked the developer.

                              Delete Comment
                              • AnonymousMarch 7, 2023 at 1:05 PM

                                how to delete ghost this framework please tell me. Ghost file not showing in my directory

                                Delete Comment
                              • Unknown photo
                                UnknownMay 2, 2020 at 2:00 PM

                                For educational purposes. Not bad

                                Delete Comment
                                • xmin photo
                                  xminApril 13, 2022 at 4:12 PM

                                  how to connect to my own device, i always get "failed to connect" please teach me

                                  Delete Comment
                                  • Kali Linux photo
                                    Kali LinuxApril 13, 2022 at 11:51 PM

                                    You turned on ADB on your device?

                                    Delete Comment
                                  • AnonymousMay 2, 2020 at 5:11 PM

                                    Failed to start ghost server

                                    Delete Comment
                                    • Kali Linux photo
                                      Kali LinuxMay 2, 2020 at 7:12 PM

                                      Many users getting this error. The problem comes from the developers of ghost framework.

                                      Delete Comment
                                      • Unknown photo
                                        UnknownOctober 16, 2020 at 5:43 PM

                                        in termux android-tools and scrcpy pakages are not getting installied showing unable to locate package

                                        Delete Comment
                                        • Kali Linux photo
                                          Kali LinuxOctober 16, 2020 at 5:59 PM

                                          Sorry, we can't say much about Termux. We didn't use it so much. Sorry from heart.

                                          Delete Comment
                                        • tiara erlina photo
                                          tiara erlinaMay 2, 2020 at 10:24 PM

                                          um i've been take a screenshot as remotly but i can't find the picture on my desktop

                                          Delete Comment
                                          • Aureshi photo
                                            AureshiMay 8, 2020 at 1:25 PM

                                            give the path post screenshot command like
                                            'screenshot /home/user/downloads'

                                            Delete Comment
                                          • ghost photo
                                            ghostMay 5, 2020 at 10:54 AM

                                            not showing any options only ghost will be open
                                            like
                                            ghost>

                                            Delete Comment
                                          • Unknown photo
                                            UnknownMay 6, 2020 at 3:44 AM

                                            Hello Everyone.
                                            Is it possible to use this awesome framework targeting only devices within my network(meaning using my private ip addresses)?

                                            Delete Comment
                                            • ghost photo
                                              ghostMay 10, 2020 at 12:44 PM

                                              Failed to connect to 52.221.194.125

                                              Delete Comment
                                              • Unknown photo
                                                UnknownMay 10, 2020 at 12:52 PM

                                                Failed to connect to my ip address how solved this problem

                                                Delete Comment
                                                • Unknown photo
                                                  UnknownMay 11, 2020 at 3:06 AM

                                                  Failed to connect to my ip address how solved this problem

                                                  Delete Comment
                                                  • Kali Linux photo
                                                    Kali LinuxMay 12, 2020 at 7:50 AM

                                                    We can use this framework to control old Android devices which have turn on the debug bridge in the "Developer options". That means your device may not vulnerable.

                                                    Delete Comment
                                                    • Unknown photo
                                                      UnknownSeptember 14, 2020 at 11:43 AM

                                                      I'm unable to view saved files, it says file has been saved to my desired directory but there's just no file, such as screenshots or records. Can you help me? Thanks!

                                                      Delete Comment
                                                    • AnonymousMay 11, 2020 at 7:24 AM

                                                      how to install it on android using termux

                                                      Delete Comment
                                                    • WANAS X photo
                                                      WANAS XMay 11, 2020 at 1:19 PM

                                                      [wanasx@wanasx ghost]$ sudo ghost
                                                      which: no adb in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/Applications/Visual Studio Code.app/Contents/Resources/app/bin)
                                                      [-] Failed to start Ghost Server!

                                                      Delete Comment
                                                      • Kali Linux photo
                                                        Kali LinuxMay 12, 2020 at 7:53 AM

                                                        It means you haven't run the install.sh and thus has not installed the adb package.

                                                        Delete Comment
                                                      • Pratham photo
                                                        PrathamMay 13, 2020 at 4:29 PM

                                                        Sir my Kali Linux show that
                                                        [-] failed to start ghost service

                                                        Delete Comment
                                                        • Kali Linux photo
                                                          Kali LinuxMay 13, 2020 at 7:46 PM

                                                          install adb

                                                          quick search on google how to install it and then retsart the command ghost, it work for me

                                                          Delete Comment
                                                        • Unknown photo
                                                          UnknownMay 13, 2020 at 5:08 PM

                                                          sir while im installing the ghost im facing the error like this how to solve it
                                                          Traceback (most recent call last):
                                                          File "./ghost", line 27, in
                                                          import readline
                                                          ModuleNotFoundError: No module named 'readline'

                                                          Delete Comment
                                                          • Kali Linux photo
                                                            Kali LinuxMay 13, 2020 at 7:45 PM

                                                            Hey, You need to install readline. try one of following commands:

                                                            pip install pyreadline
                                                            or
                                                            python -m pip install pyreadline

                                                            Delete Comment
                                                            • AnonymousNovember 11, 2020 at 8:15 PM

                                                              its not working bro

                                                              Delete Comment
                                                              • KPNovember 12, 2020 at 11:12 AM

                                                                Try
                                                                pyton3 -m pip install pyreadline

                                                                Delete Comment
                                                              • Unknown photo
                                                                UnknownMay 13, 2020 at 9:16 PM

                                                                Hi;
                                                                I can't connect ghost framework to my phone.The text of message of ghost is:
                                                                "Failed to connect to .
                                                                My phone is quite new ( 1 year ),is it possible that's not vulnerable?
                                                                So,can i use ghost framework only on old phones?
                                                                Thank's for your help and time.

                                                                Delete Comment
                                                                • Kali Linux photo
                                                                  Kali LinuxMay 14, 2020 at 7:46 AM

                                                                  It depends on your phone. If it is not vulnerable then for education purpose try it on Shodan to check the ghost framework working properly.

                                                                  Delete Comment
                                                                • Finace For Everyone photo
                                                                  Finace For EveryoneMay 19, 2020 at 1:54 AM

                                                                  How to connect to devices that ma not be vulnerabl?
                                                                  How to connect to a device that are not present on Shodan?

                                                                  Delete Comment
                                                                • Walid photo
                                                                  WalidMay 19, 2020 at 6:51 AM

                                                                  Failed to start Ghost Server!

                                                                  Delete Comment
                                                                  • Kali Linux photo
                                                                    Kali LinuxMay 19, 2020 at 7:36 AM

                                                                    Have you installed ADB (Android Debug Bus) and fastboot ? We have updated our post because many user getting this error check the update section and try those commands. Good luck

                                                                    Delete Comment
                                                                  • AnonymousMay 19, 2020 at 12:20 PM

                                                                    i am facing same problem "NO internet connection" when installing the ghost framework.
                                                                    and i already change etc/apt/sources.list but it did not work.
                                                                    please help..

                                                                    Delete Comment
                                                                    • Kali Linux photo
                                                                      Kali LinuxMay 19, 2020 at 7:30 PM

                                                                      Hi, I think you are using Kali Linux in Virtual Machine. I don't know why some virtual machine users got this problem. You can easily fix it by modifying the install.sh file. You need to check it and delete those lines checks for internet connection.

                                                                      Delete Comment
                                                                      • AnonymousMay 19, 2020 at 11:52 PM

                                                                        Thanks a lot for your suggestion "You can easily fix it by modifying the install.sh file. You need to check it and delete those lines checks for internet connection".I just change some line in install.sh file which were showing "No internet connection" and some other modification too.So now it is working without any error.

                                                                        Delete Comment
                                                                        • a photo
                                                                          aMay 29, 2020 at 3:34 PM

                                                                          how did you do it? im unable to do it. plz help

                                                                          Delete Comment
                                                                        • Zilliuuu photo
                                                                          ZilliuuuMay 21, 2020 at 3:32 AM

                                                                          Can I use this tool in termux?

                                                                          Delete Comment
                                                                          • Kali Linux photo
                                                                            Kali LinuxMay 21, 2020 at 7:30 AM

                                                                            Yes but to run the installer script you need root permission in termux.

                                                                            Delete Comment
                                                                          • Man photo
                                                                            ManMay 21, 2020 at 5:21 PM

                                                                            Failed to connect to my device
                                                                            Debug bridge is also on in my device , but it's still not connecting and i tried it in my old device but it's not connecting with that device also , but all io address from shodan are connecting , what's the problem can anyone tell me??

                                                                            Delete Comment
                                                                            • Kali Linux photo
                                                                              Kali LinuxMay 22, 2020 at 8:57 AM

                                                                              Did you double checked the public IP address of your devices?

                                                                              Delete Comment
                                                                              • Man photo
                                                                                ManMay 28, 2020 at 4:47 PM

                                                                                Yes i checked it from google, now please help me i am stuck in this topic..

                                                                                Delete Comment
                                                                                • Kali Linux photo
                                                                                  Kali LinuxMay 28, 2020 at 6:23 PM

                                                                                  Are you sure that your device is vulnerable ? We have checked after your call. Everything is working finely in our case. Try on different devices. Good Luck

                                                                                  Delete Comment
                                                                                • Unknown photo
                                                                                  UnknownMay 21, 2020 at 7:26 PM

                                                                                  my commands such as battery and screenshot on applying to an android device shows
                                                                                  chmod :changing permission of 'data/payloads/battery' :operation not permitted

                                                                                  Delete Comment
                                                                                  • Unknown photo
                                                                                    UnknownMay 27, 2020 at 3:56 PM

                                                                                    Kali Linux pls. reply to this problem.

                                                                                    Delete Comment
                                                                                    • Kali Linux photo
                                                                                      Kali LinuxMay 28, 2020 at 7:26 AM

                                                                                      Are you trying on shodan ? There are so much internet of things are connected with Shodan. I think you connected with some android device (not phone) with no battery and display, Like android tv box or something other. That's why battery is not available.

                                                                                      Delete Comment
                                                                                    • AnonymousMay 26, 2020 at 8:54 PM

                                                                                      I have a good target, I can connect it from Kali up to date but
                                                                                      I tried with a docker kali rolling, impossible to connect on my target, also a simple adb connect is functionnal, so the problem is in GHOST, but no verbose mode to find the problem.

                                                                                      Delete Comment
                                                                                      • Kali Linux photo
                                                                                        Kali LinuxMay 26, 2020 at 10:52 PM

                                                                                        If you want to check ghost is properly works or not, try ip address from shodan as we described on this tutorial. If this works god then your ghost doesn't have any problem. If not works then tell us again with some more error details.

                                                                                        Delete Comment
                                                                                      • JAY_7255 photo
                                                                                        JAY_7255May 28, 2020 at 1:48 AM

                                                                                        No superuser binary detected.
                                                                                        Are you rooted?
                                                                                        Help!!😭😭

                                                                                        Delete Comment
                                                                                      • kali photo
                                                                                        kaliMay 28, 2020 at 3:29 PM

                                                                                        sir my ghost server failed to start

                                                                                        Delete Comment
                                                                                        • Kali Linux photo
                                                                                          Kali LinuxMay 28, 2020 at 6:25 PM

                                                                                          Failed to start Ghost Server
                                                                                          In this case ADB (Android Debug Bus) and fastboot need to be install manually. Try following commands if this kind of error comes:

                                                                                          sudo apt-get update
                                                                                          sudo apt-get install android-tools-adb
                                                                                          sudo apt-get install android-tools-fastboot

                                                                                          Delete Comment
                                                                                        • kali photo
                                                                                          kaliMay 28, 2020 at 3:29 PM

                                                                                          help sir please

                                                                                          Delete Comment
                                                                                          • AnonymousMay 28, 2020 at 11:26 PM

                                                                                            linux:~/ghost$ chmod +x install.sh
                                                                                            chmod: changing permissions of 'install.sh': Operation not permitted

                                                                                            how can i solve this issue ?

                                                                                            Delete Comment
                                                                                            • Kali Linux photo
                                                                                              Kali LinuxMay 29, 2020 at 8:10 AM

                                                                                              Hey, you forgot to add sudo. Try following command:

                                                                                              sudo chmod +x install.sh

                                                                                              Delete Comment
                                                                                              • AnonymousMay 29, 2020 at 9:07 PM

                                                                                                ghost> connect 182.50.123.36
                                                                                                [*] Connecting to 182.50.123.36...
                                                                                                [-] Failed to connect to 182.50.123.36!
                                                                                                I tried that and now i am getting this error.

                                                                                                Delete Comment
                                                                                              • AnonymousMay 31, 2020 at 4:11 AM

                                                                                                how to expose my oneplus 6 to adb attack, i want to test on my phone.
                                                                                                It always says failed to connect.

                                                                                                Delete Comment
                                                                                              • Unknown photo
                                                                                                UnknownJune 2, 2020 at 12:11 AM

                                                                                                Can you please tell how to use its commands like shell, download etc.

                                                                                                Delete Comment
                                                                                                • Kali Linux photo
                                                                                                  Kali LinuxJune 4, 2020 at 8:06 AM

                                                                                                  There is an option of installing apk. make a payl0ad and install it. you are done.

                                                                                                  Delete Comment
                                                                                                • Vijay photo
                                                                                                  VijayJune 3, 2020 at 6:17 PM

                                                                                                  Whenever i connect my ip it shows fsiled to connect whats the error of this one help me ???

                                                                                                  Delete Comment
                                                                                                • AnonymousJune 8, 2020 at 11:01 PM

                                                                                                  while im try to install it shows installing dependencies.... even after 2 to 3hrs still showing the same although my internet connection is good

                                                                                                  Delete Comment
                                                                                                  • AnonymousJune 12, 2020 at 3:03 PM

                                                                                                    hey kali linux:
                                                                                                    im using kali linux 2020.2 (graphical install)
                                                                                                    i installed ghost framework but i cant access it ...it says failed to start ghost server

                                                                                                    Delete Comment
                                                                                                    • Kali Linux photo
                                                                                                      Kali LinuxJune 12, 2020 at 6:08 PM

                                                                                                      Failed to start Ghost Server
                                                                                                      In this case ADB (Android Debug Bus) and fastboot need to be install manually. Try following commands if this kind of error comes:

                                                                                                      sudo apt-get update
                                                                                                      sudo apt-get install android-tools-adb
                                                                                                      sudo apt-get install android-tools-fastboot

                                                                                                      Delete Comment
                                                                                                      • Unknown photo
                                                                                                        UnknownJune 28, 2020 at 2:51 PM

                                                                                                        Hi,
                                                                                                        I am getting following error
                                                                                                        ghost> connect 192.168.1.111
                                                                                                        [*] Connecting to 192.168.1.111...

                                                                                                        I have enable usb debugging also installed update also..
                                                                                                        I m running it on VM..How do I fix it ?
                                                                                                        plz reply...

                                                                                                        Delete Comment
                                                                                                      • codeboy photo
                                                                                                        codeboyJune 12, 2020 at 3:26 PM

                                                                                                        now i tried downloading the zipfile
                                                                                                        now its says installing dependencies...
                                                                                                        this has been happening for a while...any solutions

                                                                                                        Delete Comment
                                                                                                        • codeboy photo
                                                                                                          codeboyJune 12, 2020 at 3:28 PM

                                                                                                          it installed successfully ...
                                                                                                          but it says failed to start ghost server

                                                                                                          Delete Comment
                                                                                                          • Kali Linux photo
                                                                                                            Kali LinuxJune 12, 2020 at 6:09 PM

                                                                                                            Failed to start Ghost Server
                                                                                                            In this case ADB (Android Debug Bus) and fastboot need to be install manually. Try following commands if this kind of error comes:

                                                                                                            sudo apt-get update
                                                                                                            sudo apt-get install android-tools-adb
                                                                                                            sudo apt-get install android-tools-fastboot

                                                                                                            Delete Comment
                                                                                                          • AnonymousJune 25, 2020 at 1:56 AM

                                                                                                            anything like for remote control windows?

                                                                                                            Delete Comment
                                                                                                          • News to Date photo
                                                                                                            News to DateJune 25, 2020 at 12:17 PM

                                                                                                            failed to start ghost server

                                                                                                            Delete Comment
                                                                                                            • Kali Linux photo
                                                                                                              Kali LinuxJune 26, 2020 at 7:21 AM

                                                                                                              Failed to start Ghost Server
                                                                                                              In this case ADB (Android Debug Bus) and fastboot need to be install manually. Try following commands if this kind of error comes:

                                                                                                              sudo apt-get update
                                                                                                              sudo apt-get install android-tools-adb
                                                                                                              sudo apt-get install android-tools-fastboot

                                                                                                              Delete Comment
                                                                                                            • Techno Stunner photo
                                                                                                              Techno StunnerJune 27, 2020 at 10:33 PM

                                                                                                              how to open main menu of ghost

                                                                                                              Delete Comment
                                                                                                              • AnonymousJune 28, 2020 at 11:35 AM

                                                                                                                use command ghost or sudo ghost to open the main menu of this fremework

                                                                                                                Delete Comment
                                                                                                              • Unknown photo
                                                                                                                UnknownJune 28, 2020 at 2:54 PM

                                                                                                                Hi,
                                                                                                                I am getting this when i try to connect
                                                                                                                ghost> connect 192.168.1.111
                                                                                                                [*] Connecting to 192.168.1.111...

                                                                                                                I hv enable usb debugging option...i m running kali on vm..
                                                                                                                plz help who had face this b4...

                                                                                                                Delete Comment
                                                                                                                • ranjeet photo
                                                                                                                  ranjeetJuly 14, 2020 at 7:45 PM

                                                                                                                  Hi Sir,
                                                                                                                  Ghost Script gets stuck at * Installing Dependencies forever...

                                                                                                                  Delete Comment
                                                                                                                  • Kali Linux photo
                                                                                                                    Kali LinuxJuly 15, 2020 at 8:04 PM

                                                                                                                    If your using old version of system, Ghost will update all packages. Because of this it takes really very long time to install it.

                                                                                                                    Delete Comment
                                                                                                                  • AnonymousJuly 23, 2020 at 3:36 PM

                                                                                                                    I followed all the isntallation instructions, but when i run the ghost command, it only shows the Ghost picture and
                                                                                                                    Ghost Framework v5.0
                                                                                                                    --------------------
                                                                                                                    ghost>


                                                                                                                    That's it. No options are being shown. I tried uninstalling and reinstalling, but that didn't solve the problem.

                                                                                                                    Delete Comment
                                                                                                                    • AnonymousJuly 23, 2020 at 3:55 PM

                                                                                                                      Yes, I also get that. It looks like this when I type in help
                                                                                                                      https://user-images.githubusercontent.com/54115104/83800104-922afd80-a6af-11ea-94c8-224550d0db1e.png

                                                                                                                      But how do I get to the options menu?

                                                                                                                      Delete Comment
                                                                                                                      • Kali Linux photo
                                                                                                                        Kali LinuxJuly 23, 2020 at 10:41 PM

                                                                                                                        Remove it totally and try to install again. We have updated the repository.

                                                                                                                        Delete Comment
                                                                                                                      • d2y001 photo
                                                                                                                        d2y001July 25, 2020 at 1:23 AM

                                                                                                                        unrecognized command

                                                                                                                        please help!!!!!!
                                                                                                                        for any command
                                                                                                                        for even exit

                                                                                                                        Delete Comment
                                                                                                                        • d2y001 photo
                                                                                                                          d2y001July 25, 2020 at 3:47 PM

                                                                                                                          anyone please help i am getting
                                                                                                                          [ - ]unrecognized command for any command

                                                                                                                          Delete Comment
                                                                                                                          • d2y001 photo
                                                                                                                            d2y001July 25, 2020 at 3:48 PM

                                                                                                                            Mr. Kali Linux host please help me

                                                                                                                            Delete Comment
                                                                                                                            • Kali Linux photo
                                                                                                                              Kali LinuxJuly 25, 2020 at 5:49 PM

                                                                                                                              Which commands u have used to install and run ghost? are you using Kali Linux desktop version? Please send us more details that we can help you.. Or try uninstall ghost and re-install it as we showed in our tutorial.

                                                                                                                              Delete Comment
                                                                                                                              • d2y001 photo
                                                                                                                                d2y001July 26, 2020 at 6:50 PM

                                                                                                                                As mentioned above I had used the same commands for installation with help of github clonig and it worked(with sudo).
                                                                                                                                Yes I am using kali linux desktop version (version 2). As u said I reinstalled it , again it showed the same "[ - ] unrecognized command for every command i type (even for help or exit)".

                                                                                                                                Delete Comment
                                                                                                                                • AnonymousAugust 15, 2020 at 10:27 PM

                                                                                                                                  I am facing the problem too. Whatever command I use it says [-] Unrecognized command

                                                                                                                                  I followed the steps shown in this page but after installing and starting Ghost framework I just cant give commands. I tried help, connect, e.t.c. but same reply as always.....Kali Linux devs please work this out!

                                                                                                                                  Delete Comment
                                                                                                                                  • Kali Linux photo
                                                                                                                                    Kali LinuxAugust 16, 2020 at 5:01 AM

                                                                                                                                    This problems comes from Ghost Framework. They are working on it. Ghost Framework v6.0 is coming with bug fixes. We will update whenever it releases. Make sure that you followed us

                                                                                                                                    Delete Comment
                                                                                                                                  • . photo
                                                                                                                                    .July 25, 2020 at 10:08 AM

                                                                                                                                    still cant start ghost server after ran the sudo apt command.. its unable locate the package

                                                                                                                                    Delete Comment
                                                                                                                                  • honestabdul photo
                                                                                                                                    honestabdulJuly 27, 2020 at 2:12 AM

                                                                                                                                    can anyone tell me what i done wrong pls
                                                                                                                                    Traceback (most recent call last):
                                                                                                                                    File "./ghost", line 9, in
                                                                                                                                    import readline
                                                                                                                                    ModuleNotFoundError: No module named 'readline'

                                                                                                                                    im new to kali linux but learned on win 97 been win xp till 4 weeks ago
                                                                                                                                    any help is help if i need to learn new program np any help is help

                                                                                                                                    Delete Comment
                                                                                                                                  • amir photo
                                                                                                                                    amirJuly 28, 2020 at 11:37 PM

                                                                                                                                    how can download gohst framework


                                                                                                                                    Delete Comment
                                                                                                                                    • Kali Linux photo
                                                                                                                                      Kali LinuxJuly 29, 2020 at 7:53 AM

                                                                                                                                      Please,read the article carefully. We have used a command to clone it from GitHub. Cloning=Downloading.

                                                                                                                                      Delete Comment
                                                                                                                                    • Ibrar Ahmed photo
                                                                                                                                      Ibrar AhmedAugust 5, 2020 at 7:20 AM

                                                                                                                                      Sir kindly help me wuth the problem:
                                                                                                                                      ibrar@kali:~/ghost$ sudo ghost
                                                                                                                                      Traceback (most recent call last):
                                                                                                                                      File "./ghost", line 9, in
                                                                                                                                      import readline
                                                                                                                                      ModuleNotFoundError: No module named 'readline'

                                                                                                                                      Delete Comment
                                                                                                                                      • Kali Linux photo
                                                                                                                                        Kali LinuxAugust 5, 2020 at 7:57 AM

                                                                                                                                        the python module named 'readline' is missing on your machine. You can install it by using following command then run ghost framework:
                                                                                                                                        sudo pip3 install readline

                                                                                                                                        Delete Comment
                                                                                                                                      • AnonymousAugust 10, 2020 at 5:02 PM

                                                                                                                                        hello eny body can hack android phone by ip adress

                                                                                                                                        Delete Comment
                                                                                                                                        • Unknown photo
                                                                                                                                          UnknownAugust 23, 2020 at 2:38 AM

                                                                                                                                          am in ghost framework now. but it says unrecognised commands. what might be the problem?

                                                                                                                                          Delete Comment
                                                                                                                                          • Kali Linux photo
                                                                                                                                            Kali LinuxAugust 23, 2020 at 3:24 AM

                                                                                                                                            This problems comes from Ghost Framework. They are working on it. Ghost Framework v6.0 is coming with bug fixes. We will update whenever it releases. Make sure that you followed us.

                                                                                                                                            Delete Comment
                                                                                                                                          • Unknown photo
                                                                                                                                            UnknownSeptember 8, 2020 at 9:56 AM

                                                                                                                                            Isi t work in mobile phone?

                                                                                                                                            Delete Comment
                                                                                                                                            • Unknown photo
                                                                                                                                              UnknownSeptember 8, 2020 at 9:57 AM

                                                                                                                                              I think better to do a video for more clarification on this

                                                                                                                                              Delete Comment
                                                                                                                                              • Unknown photo
                                                                                                                                                UnknownSeptember 12, 2020 at 5:53 PM

                                                                                                                                                [-] Failed to connect to 27.34.20.102!
                                                                                                                                                how to solve it

                                                                                                                                                Delete Comment
                                                                                                                                                • TECHTONY photo
                                                                                                                                                  TECHTONYSeptember 20, 2020 at 1:48 AM

                                                                                                                                                  HOw to to coonect any ip address with ghost frame work

                                                                                                                                                  Delete Comment
                                                                                                                                                  • TECHTONY photo
                                                                                                                                                    TECHTONYSeptember 20, 2020 at 1:56 AM

                                                                                                                                                    ITs fail to connect every ip address that i try

                                                                                                                                                    Delete Comment
                                                                                                                                                    • Kali Linux photo
                                                                                                                                                      Kali LinuxSeptember 20, 2020 at 6:28 AM

                                                                                                                                                      Does your device vulnerable? OK, wait a bit Ghost Framework v6.0 coming soon. Whenever its come we will update our tutorial. To stay tuned follow us.

                                                                                                                                                      Delete Comment
                                                                                                                                                    • Brenoli photo
                                                                                                                                                      BrenoliSeptember 29, 2020 at 5:25 AM

                                                                                                                                                      Hi i use that to install and say

                                                                                                                                                      Install.sh: 80: [[:not found
                                                                                                                                                      Install.sh: 9,: [[:not found
                                                                                                                                                      -e [-] installation failed!

                                                                                                                                                      Delete Comment
                                                                                                                                                      • Kali Linux photo
                                                                                                                                                        Kali LinuxSeptember 29, 2020 at 7:48 AM

                                                                                                                                                        Hi, Brenoli did you set proper permission for this ? chmod +x . We think we should remove those files and start from the beginning.

                                                                                                                                                        Delete Comment
                                                                                                                                                        • Brenoli photo
                                                                                                                                                          BrenoliSeptember 30, 2020 at 3:10 AM

                                                                                                                                                          Yes, i do. Wrote
                                                                                                                                                          chmod +x install.sh
                                                                                                                                                          sudo ./install.sh
                                                                                                                                                          The first time said
                                                                                                                                                          [-] No internet connection!
                                                                                                                                                          Then i tried with
                                                                                                                                                          chmod +x install.sh
                                                                                                                                                          sudo sh install.sh
                                                                                                                                                          And the answer was
                                                                                                                                                          -e [*] Installing dependences...
                                                                                                                                                          Install.sh: 80:[[:not found
                                                                                                                                                          Install.sh: 90:[[:not found
                                                                                                                                                          -e[-] installation failed!

                                                                                                                                                          Delete Comment
                                                                                                                                                          • Kali Linux photo
                                                                                                                                                            Kali LinuxSeptember 30, 2020 at 7:15 AM

                                                                                                                                                            Okay, You can edit the installer script and remove the Internet connection checker part . This tool is misbehaving and the developer is trying to release version 6 with a update. We also cover it please stay tuned.

                                                                                                                                                            Delete Comment
                                                                                                                                                            • Brenoli photo
                                                                                                                                                              BrenoliSeptember 30, 2020 at 1:16 PM

                                                                                                                                                              I still can't install :(

                                                                                                                                                              Delete Comment
                                                                                                                                                              • Kali Linux photo
                                                                                                                                                                Kali LinuxSeptember 30, 2020 at 1:53 PM

                                                                                                                                                                You should wait for next update. The work is in progress according to the developer.

                                                                                                                                                                Delete Comment
                                                                                                                                                                • Rajat Sujane photo
                                                                                                                                                                  Rajat SujaneNovember 21, 2020 at 7:45 PM

                                                                                                                                                                  when will new update come

                                                                                                                                                                  Delete Comment
                                                                                                                                                                  • Kali Linux photo
                                                                                                                                                                    Kali LinuxNovember 22, 2020 at 8:15 AM

                                                                                                                                                                    The Update is live. Check this article again. Thanks

                                                                                                                                                                    Delete Comment
                                                                                                                                                                  • Unknown photo
                                                                                                                                                                    UnknownSeptember 30, 2020 at 11:37 AM

                                                                                                                                                                    please help screen command is not working in ghost frame

                                                                                                                                                                    work in kali linux

                                                                                                                                                                    Delete Comment
                                                                                                                                                                    • Kali Linux photo
                                                                                                                                                                      Kali LinuxSeptember 30, 2020 at 1:57 PM

                                                                                                                                                                      Everyone getting errors with Ghost framework, we suggest to wait because it will come with a new update (6.0) with lots of more feature. The work is under progress according to the author/developer of Ghost Framework. Everyone can contribute in the project.

                                                                                                                                                                      Delete Comment
                                                                                                                                                                      • Unknown photo
                                                                                                                                                                        UnknownOctober 8, 2020 at 5:29 AM

                                                                                                                                                                        cc

                                                                                                                                                                        Delete Comment
                                                                                                                                                                        • AnonymousOctober 21, 2020 at 7:26 PM

                                                                                                                                                                          where can i see the taken screen shot and screen rec pleasee can u tell me?

                                                                                                                                                                          Delete Comment
                                                                                                                                                                          • Kali Linux photo
                                                                                                                                                                            Kali LinuxOctober 29, 2020 at 7:56 AM

                                                                                                                                                                            Everyone getting errors with Ghost framework, we suggest to wait because it will come with a new update (6.0) with lots of more feature. The work is under progress according to the author/developer of Ghost Framework. Everyone can contribute in the project.

                                                                                                                                                                            Delete Comment
                                                                                                                                                                          • AnonymousOctober 28, 2020 at 10:56 PM

                                                                                                                                                                            fails to connect to even the shodan IPs.. all IPs fail..

                                                                                                                                                                            Delete Comment
                                                                                                                                                                            • Kali Linux photo
                                                                                                                                                                              Kali LinuxOctober 29, 2020 at 7:56 AM

                                                                                                                                                                              Everyone getting errors with Ghost framework, we suggest to wait because it will come with a new update (6.0) with lots of more feature. The work is under progress according to the author/developer of Ghost Framework. Everyone can contribute in the project.

                                                                                                                                                                              Delete Comment
                                                                                                                                                                            • DNozz photo
                                                                                                                                                                              DNozzOctober 28, 2020 at 11:07 PM

                                                                                                                                                                              failed to connect to Shodan - x.x.x.x Kali VM. tried both NAT and bridged (even put vm outside of the firewall for a few minutes).. Removed, Reinstalled, Updated.. Is there a fix yet?

                                                                                                                                                                              Delete Comment
                                                                                                                                                                              • Kali Linux photo
                                                                                                                                                                                Kali LinuxOctober 29, 2020 at 7:56 AM

                                                                                                                                                                                Everyone getting errors with Ghost framework, we suggest to wait because it will come with a new update (6.0) with lots of more feature. The work is under progress according to the author/developer of Ghost Framework. Everyone can contribute in the project.

                                                                                                                                                                                Delete Comment
                                                                                                                                                                              • khanshab photo
                                                                                                                                                                                khanshabNovember 6, 2020 at 12:45 PM

                                                                                                                                                                                bro how i connect my mobile in ghost can you help me../

                                                                                                                                                                                Delete Comment
                                                                                                                                                                              • AnonymousNovember 18, 2020 at 12:27 AM

                                                                                                                                                                                Hey bro i got this error :
                                                                                                                                                                                raceback (most recent call last):
                                                                                                                                                                                File "./ghost", line 37, in
                                                                                                                                                                                from core.ghostcat import GhostCat
                                                                                                                                                                                File "/root/ghost/core/ghostcat.py", line 32, in
                                                                                                                                                                                from core.ghost import ghost
                                                                                                                                                                                File "/root/ghost/core/ghost.py", line 32, in
                                                                                                                                                                                from core.transfer import transfer
                                                                                                                                                                                ModuleNotFoundError: No module named 'core.transfer'

                                                                                                                                                                                Can you help ?

                                                                                                                                                                                Delete Comment
                                                                                                                                                                                • Kali Linux photo
                                                                                                                                                                                  Kali LinuxNovember 18, 2020 at 12:11 PM

                                                                                                                                                                                  Have you installed it with install.sh?
                                                                                                                                                                                  If yes then try process again it is fixed by the developer.
                                                                                                                                                                                  Check what the developer said on this error.

                                                                                                                                                                                  Delete Comment
                                                                                                                                                                                  • AnonymousNovember 19, 2020 at 6:22 PM

                                                                                                                                                                                    Thank you man <3

                                                                                                                                                                                    Delete Comment
                                                                                                                                                                                  • Rajat Sujane photo
                                                                                                                                                                                    Rajat SujaneNovember 21, 2020 at 5:41 PM

                                                                                                                                                                                    unable to open ghost second time as root user
                                                                                                                                                                                    error is


                                                                                                                                                                                    root@kali:~# ghost
                                                                                                                                                                                    Traceback (most recent call last):
                                                                                                                                                                                    File "./ghost", line 37, in
                                                                                                                                                                                    from core.server import server
                                                                                                                                                                                    File "/root/ghost/core/server.py", line 32, in
                                                                                                                                                                                    from core.ghost import ghost
                                                                                                                                                                                    File "/root/ghost/core/ghost.py", line 32, in
                                                                                                                                                                                    from core.transfer import transfer
                                                                                                                                                                                    ModuleNotFoundError: No module named 'core.transfer'

                                                                                                                                                                                    Delete Comment
                                                                                                                                                                                    • Rajat Sujane photo
                                                                                                                                                                                      Rajat SujaneNovember 21, 2020 at 5:48 PM

                                                                                                                                                                                      and i also reinstalled it but error is still coming

                                                                                                                                                                                      Delete Comment
                                                                                                                                                                                      • Rajat Sujane photo
                                                                                                                                                                                        Rajat SujaneNovember 21, 2020 at 5:52 PM

                                                                                                                                                                                        and also it is looking like this






                                                                                                                                                                                        .__ __
                                                                                                                                                                                        ____ | |__ ____ _______/ |_
                                                                                                                                                                                        / ___\| | \ / _ \/ ___/\ __\
                                                                                                                                                                                        / /_/ > Y ( <_> )___ \ | |
                                                                                                                                                                                        \___ /|___| /\____/____ > |__|
                                                                                                                                                                                        /_____/ \/ \/

                                                                                                                                                                                        Delete Comment
                                                                                                                                                                                        • Kali Linux photo
                                                                                                                                                                                          Kali LinuxNovember 22, 2020 at 8:15 AM

                                                                                                                                                                                          Yah it's the new 6.0 update

                                                                                                                                                                                          Delete Comment
                                                                                                                                                                                          • Kali Linux photo
                                                                                                                                                                                            Kali LinuxNovember 22, 2020 at 8:17 AM

                                                                                                                                                                                            The developer fixing issues hour by hour. You should remove ghost and re clone and install again to see some effects.

                                                                                                                                                                                            Delete Comment
                                                                                                                                                                                            • Rajat Sujane photo
                                                                                                                                                                                              Rajat SujaneNovember 22, 2020 at 3:51 PM

                                                                                                                                                                                              now its working but saying failed to connect through ip

                                                                                                                                                                                              Delete Comment
                                                                                                                                                                                              • Kali Linux photo
                                                                                                                                                                                                Kali LinuxNovember 22, 2020 at 8:58 PM

                                                                                                                                                                                                According to the author of Ghost that it is not Ghost's problem Shodan is showing us offline IP's. You can check what he said by here.

                                                                                                                                                                                                Delete Comment
                                                                                                                                                                                                • Rajat Sujane photo
                                                                                                                                                                                                  Rajat SujaneNovember 23, 2020 at 7:14 PM

                                                                                                                                                                                                  can you tell me how to install v5.0 version of ghost

                                                                                                                                                                                                  Delete Comment
                                                                                                                                                                                                  • 3v1lW1th1nNovember 23, 2020 at 8:03 PM

                                                                                                                                                                                                    Hey man, I have forked Ghost v5.0 on my github. V5.0 is really good idk why I don't like the new version. You can check this link.

                                                                                                                                                                                                    https://github.com/3v1lW1th1n/ghost

                                                                                                                                                                                                    Delete Comment
                                                                                                                                                                                                    • Rajat Sujane photo
                                                                                                                                                                                                      Rajat SujaneNovember 24, 2020 at 10:22 AM

                                                                                                                                                                                                      thanks man

                                                                                                                                                                                                      Delete Comment
                                                                                                                                                                                                    • EoG Community photo
                                                                                                                                                                                                      EoG CommunityDecember 20, 2020 at 8:07 PM

                                                                                                                                                                                                      hello, i try to set my phone ip address but i falied toconnect. is there any solution for that?
                                                                                                                                                                                                      thank you.

                                                                                                                                                                                                      Delete Comment
                                                                                                                                                                                                      • Kali Linux photo
                                                                                                                                                                                                        Kali LinuxDecember 21, 2020 at 8:54 AM

                                                                                                                                                                                                        Check the ADB configuration on your PC.

                                                                                                                                                                                                        Ok. Try running this:

                                                                                                                                                                                                        adb start-server; adb connect 192.your.ip

                                                                                                                                                                                                        and send me output.

                                                                                                                                                                                                        Delete Comment
                                                                                                                                                                                                      • Hope photo
                                                                                                                                                                                                        HopeJanuary 26, 2021 at 5:35 AM

                                                                                                                                                                                                        Hello i tried installing it but when i try to run it i get the error "Failed to execute adb!"
                                                                                                                                                                                                        Can you help me get what is wrong? i will try to unnistall it and install it again!

                                                                                                                                                                                                        Delete Comment
                                                                                                                                                                                                      • AnonymousFebruary 18, 2021 at 8:40 PM

                                                                                                                                                                                                        [i] Device Battery Information:
                                                                                                                                                                                                        error: no devices/emulators found
                                                                                                                                                                                                        this error came
                                                                                                                                                                                                        can you please help me?

                                                                                                                                                                                                        Delete Comment
                                                                                                                                                                                                        • Kali Linux photo
                                                                                                                                                                                                          Kali LinuxMarch 10, 2021 at 8:12 PM

                                                                                                                                                                                                          it means the device is disconnected or your internet connection disabled.

                                                                                                                                                                                                          Delete Comment
                                                                                                                                                                                                        • Unknown photo
                                                                                                                                                                                                          UnknownMarch 3, 2021 at 1:56 PM

                                                                                                                                                                                                          thankyou guys

                                                                                                                                                                                                          Delete Comment
                                                                                                                                                                                                          • Pranav Kokitkar photo
                                                                                                                                                                                                            Pranav KokitkarMay 31, 2021 at 10:11 PM

                                                                                                                                                                                                            can we install the ghost framework in termux? or we can use it in android devices ?

                                                                                                                                                                                                            Delete Comment
                                                                                                                                                                                                            • Unknown photo
                                                                                                                                                                                                              UnknownJune 13, 2021 at 5:47 AM

                                                                                                                                                                                                              Username and password pls

                                                                                                                                                                                                              Delete Comment
                                                                                                                                                                                                              • Kali Linux photo
                                                                                                                                                                                                                Kali LinuxJune 13, 2021 at 9:52 AM

                                                                                                                                                                                                                The original project is deleted that's why it asks for username and passwords. We have updated the commands. Now everything is fixed. Now try.

                                                                                                                                                                                                                Delete Comment
                                                                                                                                                                                                              • anonymous photo
                                                                                                                                                                                                                anonymousJuly 6, 2021 at 1:30 PM

                                                                                                                                                                                                                This comment has been removed by the author.

                                                                                                                                                                                                                Delete Comment
                                                                                                                                                                                                                • anonymous photo
                                                                                                                                                                                                                  anonymousJuly 6, 2021 at 1:35 PM

                                                                                                                                                                                                                  when I entered the command ./install.sh it asked for username and password of github, when i entered them it showed

                                                                                                                                                                                                                  ./install.sh: line 59: cd: /root/ghost: No such file or directory

                                                                                                                                                                                                                  cat: banner/banner.txt: No such file or directory

                                                                                                                                                                                                                  [+] Installing dependencies...

                                                                                                                                                                                                                  And it is stuck there

                                                                                                                                                                                                                  Delete Comment
                                                                                                                                                                                                                  • anonymous photo
                                                                                                                                                                                                                    anonymousJuly 6, 2021 at 1:46 PM

                                                                                                                                                                                                                    nevermind, i found it, I just entered the command: chmod +x install.sh

                                                                                                                                                                                                                    Delete Comment
                                                                                                                                                                                                                    • Kali Linux photo
                                                                                                                                                                                                                      Kali LinuxJuly 7, 2021 at 12:48 PM

                                                                                                                                                                                                                      This tools is got updated. Installation becomes very easy and use is also easier. We are working to update our this article. It may be got updated on 12 th July. Because we have some interesting in some days. After 12th you can visit this page or follow us on Twitter. We will keep updating you.

                                                                                                                                                                                                                      Thanks.

                                                                                                                                                                                                                      Delete Comment
                                                                                                                                                                                                                    • AnonymousAugust 2, 2021 at 10:10 PM

                                                                                                                                                                                                                      When I typed the ``./install.sh`` command it asked me for username and password for github, after I wrote them it showed :
                                                                                                                                                                                                                      install.sh: line 59: cd: /root/ghost: No such file or directory

                                                                                                                                                                                                                      cat: banner/banner.txt: No such file or directory

                                                                                                                                                                                                                      [+] Installing dependencies ...
                                                                                                                                                                                                                      [+]Successfully installed!

                                                                                                                                                                                                                      ;
                                                                                                                                                                                                                      If I type ``ghost`` nothing happen. It is red, that mean isn`t a command. Any advice?

                                                                                                                                                                                                                      Delete Comment
                                                                                                                                                                                                                      • Kali Linux photo
                                                                                                                                                                                                                        Kali LinuxSeptember 16, 2021 at 6:08 PM

                                                                                                                                                                                                                        I think you are using older version of ghost framework. In the newer versions you don't need to use install.sh command. Please read the article carefully.

                                                                                                                                                                                                                        Delete Comment
                                                                                                                                                                                                                      • Unknown photo
                                                                                                                                                                                                                        UnknownSeptember 16, 2021 at 2:52 PM

                                                                                                                                                                                                                        please tell me step by step to fix the internet issue .

                                                                                                                                                                                                                        Delete Comment
                                                                                                                                                                                                                      • Unknown photo
                                                                                                                                                                                                                        UnknownApril 25, 2022 at 5:32 PM

                                                                                                                                                                                                                        hi hi hi I have a problem because every time I look for an IP and try to connect it tells me that it does not connect, am I doing something wrong?

                                                                                                                                                                                                                        Delete Comment
                                                                                                                                                                                                                        • Kali Linux photo
                                                                                                                                                                                                                          Kali LinuxApril 25, 2022 at 10:06 PM

                                                                                                                                                                                                                          If the target have ADB, then it should connect. Try with other targets to make sure that you ghost framework doesn't have any problem. Please don't harm annyone or access other's devices without proper permission. Thanks

                                                                                                                                                                                                                          Delete Comment
                                                                                                                                                                                                                        google-playkhamsatmostaqltradent