Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

can i know what wrong here ? #103

Closed
iven86 opened this issue Sep 27, 2017 · 1 comment
Closed

can i know what wrong here ? #103

iven86 opened this issue Sep 27, 2017 · 1 comment

Comments

@iven86
Copy link

iven86 commented Sep 27, 2017

sudo searchsploit -u
[i] Updating via Git (Expect daily updates).

fatal: 'upstream' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: 'upstream' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

[*] Git update finished.
[i] Path: /opt/exploit-database/platforms/

@g0tmi1k
Copy link
Collaborator

g0tmi1k commented Oct 3, 2017

Did you just do a git clone? Or using a dated version? (there was a bug #101 in the update system)

Its working fine for me with the latest version:

$ cd /tmp/
$
$ git clone git@github.com:offensive-security/exploit-database.git
Cloning into 'exploit-database'...
remote: Counting objects: 99401, done.
remote: Compressing objects: 100% (309/309), done.
remote: Total 99401 (delta 208), reused 339 (delta 130), pack-reused 98960
Receiving objects: 100% (99401/99401), 106.62 MiB | 105.00 KiB/s, done.
Resolving deltas: 100% (57295/57295), done.
Checking out files: 100% (38629/38629), done.
$
$ cd exploit-database/
$
$ sudo rm -rf /opt/exploit-database/
$
$ ./searchsploit --update
[i] Updating via Git (Expect daily updates): /opt/exploit-database


[-] Nothing here (/opt/exploit-database). Starting fresh...
Cloning into '/opt/exploit-database'...
remote: Counting objects: 99401, done.
remote: Compressing objects: 100% (309/309), done.
remote: Total 99401 (delta 208), reused 339 (delta 130), pack-reused 98960
Receiving objects: 100% (99401/99401), 106.62 MiB | 50.00 KiB/s, done.
Resolving deltas: 100% (57295/57295), done.
Checking out files: 100% (38629/38629), done.

[-] Missing Git remote upstream (https://github.com/offensive-security/exploit-database.git)
Password:
Reinitialized existing Git repository in /opt/exploit-database/.git/

[i] Git pull'ing
From https://github.com/offensive-security/exploit-database
 * branch                master     -> FETCH_HEAD
 * [new branch]          master     -> upstream/master
Already up-to-date.

[*] Git update finished.
[i] Path: /opt/exploit-database/platforms/
$
$ ./searchsploit --update
[i] Updating via Git (Expect daily updates): /opt/exploit-database


[i] Git pull'ing
From https://github.com/offensive-security/exploit-database
 * branch                master     -> FETCH_HEAD
Already up-to-date.

[*] Git update finished.
[i] Path: /opt/exploit-database/platforms/
$

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants