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

Download and Update script are not working #6

Closed
jamesfigueroa01 opened this issue Feb 22, 2018 · 11 comments
Closed

Download and Update script are not working #6

jamesfigueroa01 opened this issue Feb 22, 2018 · 11 comments

Comments

@jamesfigueroa01
Copy link

jamesfigueroa01 commented Feb 22, 2018

Hello,

I am very interested in using your domain list but every time I try to run the download or update script, it is filled with errors(No such file or directory mostly). Even if I download and try to use just the blackweb.txt file form 2/8, it contains duplicates (subdomains). I am doing this on Ubuntu 16.03. Thank you for any help, much appreciated.

@maravento
Copy link
Owner

maravento commented Feb 24, 2018

@jamesfigueroa01 Could you describe your problem better in order to help you and if it is possible to include screenshot?

@jamesfigueroa01
Copy link
Author

jamesfigueroa01 commented Mar 1, 2018

I am on Ubuntu 16.04.3 LTS

here are my results:

root@:~ wget https://raw.githubusercontent.com/maravento/blackweb/master/blackweb.sh -O /etc/init.d/blackweb.sh
--2018-03-01 11:52:31-- https://raw.githubusercontent.com/maravento/blackweb/master/blackweb.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1350 (1.3K) [text/plain]
Saving to: ?/etc/init.d/blackweb.sh?

/etc/init.d/blackwe 100%[===================>] 1.32K --.-KB/s in 0s

2018-03-01 11:52:31 (85.2 MB/s) - ?/etc/init.d/blackweb.sh? saved [1350/1350]

root@:~ chown root:root /etc/init.d/blackweb.sh && sudo chmod +x /etc/init.d/blackweb.sh
root@:~
root@:~ /etc/init.d/blackweb.sh
Download Blackweb ACL...
/etc/init.d/blackweb.sh: line 34: cd: /root/bl: No such file or directory
cat: 'blackweb.tar.gz*': No such file or directory

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
OK

Checking Sum...
md5sum: blackweb.txt: No such file or directory
cat: blackweb.md5: No such file or directory
Sum Matches
OK
Done

Am i doing something wrong? Sorry for the delay in responding

@jamesfigueroa01
Copy link
Author

here are the results for a non root user:

administrator@:~$ sudo wget https://raw.githubusercontent.com/maravento/blackweb/master/blackweb.sh -O /etc/init.d/blackweb.sh
--2018-03-01 13:22:13-- https://raw.githubusercontent.com/maravento/blackweb/master/blackweb.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1350 (1.3K) [text/plain]
Saving to: ?/etc/init.d/blackweb.sh?

/etc/init.d/blackwe 100%[===================>] 1.32K --.-KB/s in 0s

2018-03-01 13:22:13 (143 MB/s) - ?/etc/init.d/blackweb.sh? saved [1350/1350]

administrator@:$
administrator@:
$ sudo chown root:root /etc/init.d/blackweb.sh && sudo chmod +x /etc/init.d/blackweb.sh
administrator@:~$ sudo /etc/init.d/blackweb.sh

Download Blackweb ACL...
/etc/init.d/blackweb.sh: line 34: cd: /home/administrator/bl: No such file or directory
cat: 'blackweb.tar.gz*': No such file or directory

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
OK

Checking Sum...
md5sum: blackweb.txt: No such file or directory
cat: blackweb.md5: No such file or directory
Sum Matches
OK
Done
administrator@:~$

same result...

@maravento
Copy link
Owner

maravento commented Mar 1, 2018

Fix it. try again

@jamesfigueroa01
Copy link
Author

I removed the server name for privacy but its there, never edited .bashrc.

@elico
Copy link

elico commented Mar 5, 2018

@maravento if you are indeed using this script then this directory should be created automatically by these lines:

To make sure that happens when the script runs you should add "set -x" at:

and "set +x" at the end of the script, then run the script as sudo and quote the output here or in a gist.

@maravento
Copy link
Owner

maravento commented Mar 5, 2018

@jamesfigueroa01 You can execute from anywhere and from any account.
wget https://github.com/maravento/blackweb/raw/master/blackweb.sh && chmod +x blackweb.sh && ./blackweb.sh

Repository owner deleted a comment from elico Mar 13, 2018
Repository owner deleted a comment from elico Mar 13, 2018
Repository owner deleted a comment from elico Mar 13, 2018
@jamesfigueroa01
Copy link
Author

hey,

Sorry i have not been able to respond sooner. Unfortunately, here are the results:

administrator@******:~$ wget https://github.com/maravento/blackweb/raw/master/blackweb.sh && sudo chmod +x blackweb.sh && sudo ./blackweb.sh
--2018-03-13 11:28:27-- https://github.com/maravento/blackweb/raw/master/blackweb.sh
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/maravento/blackweb/master/blackweb.sh [following]
--2018-03-13 11:28:29-- https://raw.githubusercontent.com/maravento/blackweb/master/blackweb.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1383 (1.4K) [text/plain]
Saving to: ?blackweb.sh.2?

blackweb.sh.2 100%[===================>] 1.35K --.-KB/s in 0s

2018-03-13 11:28:30 (160 MB/s) - ?blackweb.sh.2? saved [1383/1383]

[sudo] password for administrator:
Download Blackweb ACL...
./blackweb.sh: line 34: cd: /home/administrator/bl: No such file or directory
cat: 'blackweb.tar.gz*': No such file or directory

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
OK

Checking Sum...
md5sum: blackweb.txt: No such file or directory
cat: blackweb.md5: No such file or directory
Sum Matches
OK

Done
administrator@******:~$

@maravento
Copy link
Owner

maravento commented Mar 13, 2018

Remove any previous script

@jamesfigueroa01
Copy link
Author

I cleared the files in the administrator user account but no difference:

administrator@:~$ ls
blackweb.sh blackweb.sh.1 blackweb.sh.2
administrator@
:~$ rm blackweb.sh
administrator@
:~$ rm blackweb.sh.1
administrator@
:~$ rm blackweb.sh.2
administrator@
:~$ ls
administrator@
:~$
administrator@
******:~$ wget https://github.com/maravento/blackweb/raw/master/blackweb.sh && sudo chmod +x blackweb.sh && sudo ./blackweb.sh
--2018-03-13 12:37:17-- https://github.com/maravento/blackweb/raw/master/blackweb.sh
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/maravento/blackweb/master/blackweb.sh [following]
--2018-03-13 12:37:17-- https://raw.githubusercontent.com/maravento/blackweb/master/blackweb.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.200.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.200.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1383 (1.4K) [text/plain]
Saving to: ?blackweb.sh?

blackweb.sh 100%[===================>] 1.35K --.-KB/s in 0s

2018-03-13 12:37:17 (128 MB/s) - ?blackweb.sh? saved [1383/1383]

[sudo] password for administrator:

Download Blackweb ACL...
./blackweb.sh: line 34: cd: /home/administrator/bl: No such file or directory
cat: 'blackweb.tar.gz*': No such file or directory

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
OK

Checking Sum...
md5sum: blackweb.txt: No such file or directory
cat: blackweb.md5: No such file or directory
Sum Matches
OK

Done
administrator@*****:~$

@maravento
Copy link
Owner

maravento commented Mar 13, 2018

We have updated the project. Please check the new procedures

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