Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on Kali #2

Open
HW6t2WjA opened this issue May 17, 2016 · 4 comments
Open

Not working on Kali #2

HW6t2WjA opened this issue May 17, 2016 · 4 comments

Comments

@HW6t2WjA
Copy link

root@work:/opt/dorks# phantomjs dorks.js ghdb -q oracle -o oracle_dorks.txt
search query input not found
warn: https://www.exploit-db.com/google-hacking-database/: fail

root@work:/opt/dorks# wget https://www.exploit-db.com/google-hacking-database
--2016-05-17 11:07:21-- https://www.exploit-db.com/google-hacking-database
Resolving www.exploit-db.com (www.exploit-db.com)... 192.124.249.8
Connecting to www.exploit-db.com (www.exploit-db.com)|192.124.249.8|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.exploit-db.com/google-hacking-database/ [following]
--2016-05-17 11:07:24-- https://www.exploit-db.com/google-hacking-database/
Reusing existing connection to www.exploit-db.com:443.
HTTP request sent, awaiting response... 200 OK
Length: 12182 (12K) [text/html]
Saving to: ‘google-hacking-database’

google-hacking-database 100%[==========================================================>] 11.90K --.-KB/s in 0.001s

2016-05-17 11:07:24 (9.98 MB/s) - ‘google-hacking-database’ saved [12182/12182]

@USSCltd
Copy link
Collaborator

USSCltd commented May 18, 2016

This problem has been seen by me on linux / x64. There is a problem in phantomjs. Try to open the following code using phantomjs.
require('webpage').create().open( "https://exploit-db.com/", function(s) {console.log(s); phantom.exit()} )
even check the time setting

@nikatormax
Copy link

root@kali:~/dorks# require('webpage').create().open( "https://exploit-db.com/", function(s) {console.log(s); phantom.exit()} )
bash: syntax error near unexpected token `'webpage''

root@kali:~/dorks# phantomjs dorks.js ghdb -c 0 -o all_dorks.txt
categories element not found
warn: https://www.exploit-db.com/google-hacking-database/: fail

root@kali:~/dorks# wget https://www.exploit-db.com/google-hacking-database
--2017-01-16 03:22:58--  https://www.exploit-db.com/google-hacking-database
Resolving www.exploit-db.com (www.exploit-db.com)... 192.124.249.8
Connecting to www.exploit-db.com (www.exploit-db.com)|192.124.249.8|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.exploit-db.com/google-hacking-database/ [following]
--2017-01-16 03:22:59--  https://www.exploit-db.com/google-hacking-database/
Reusing existing connection to www.exploit-db.com:443.
HTTP request sent, awaiting response... 200 OK
Length: 13594 (13K) [text/html]
Saving to: ‘google-hacking-database’

google-hacking-data 100%[===================>]  13.28K  --.-KB/s    in 0.07s   

2017-01-16 03:22:59 (193 KB/s) - ‘google-hacking-database’ saved [13594/13594]

@USSCltd
Copy link
Collaborator

USSCltd commented Jan 24, 2017

No, put this code in a file (eg test.js) and run:
phantomjs test.js

must be:
"success"

@KrauseBerg
Copy link

And what if failed writes?

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

No branches or pull requests

3 participants