Hello,
Welcome to LQ,
I tried the git clone command. I created a directory called "testing" in my home. Then I cd into the directory "testing" and ran:
Code:
$ git clone https://github.com/reverse-shell/routersploit
Cloning into 'routersploit'...
remote: Counting objects: 1017, done.
remote: Compressing objects: 100% (101/101), done.
remote: Total 1017 (delta 60), reused 0 (delta 0), pack-reused 916
Receiving objects: 100% (1017/1017), 213.80 KiB | 94.00 KiB/s, done.
Resolving deltas: 100% (681/681), done.
Checking connectivity... done.
$ ls -l
total 4.0K
drwxr-xr-x 4 aragorn aragorn 4.0K Apr 30 11:52 routersploit
$ cd routersploit ; ls -l
total 32K
-rw-r--r-- 1 aragorn aragorn 1.9K Apr 30 11:52 LICENSE
-rw-r--r-- 1 aragorn aragorn 11K Apr 30 11:52 README.md
-rw-r--r-- 1 aragorn aragorn 52 Apr 30 11:52 requirements.txt
drwxr-xr-x 5 aragorn aragorn 4.0K Apr 30 11:52 routersploit
-rwxr-xr-x 1 aragorn aragorn 205 Apr 30 11:52 rsf.py
-rw-r--r-- 1 aragorn aragorn 171 Apr 30 11:52 tox.ini
$ ./rsf.py
Note: $ is the prompt.
After doing the git clone, you get a directory routersploit which contains LICENSE, README.md, ... The important thing is that it contains an executable rsf.py, which you can execute quite simply.
So, you might have made a mistake in running the command as you are saying that you had to use mkdir and that you have a rsf.py directory.