diff --git a/.configs/arch-torrc b/.configs/arch-torrc index 8cb5f31..f94a24e 100644 --- a/.configs/arch-torrc +++ b/.configs/arch-torrc @@ -19,5 +19,4 @@ DNSPort 9061 DNSListenAddress 127.0.0.1 # VirtualAddrNetwork 10.66.0.0/255.255.0.0 -# AutomapHostsOnResolve 1 - +# AutomapHostsOnResolve 1 \ No newline at end of file diff --git a/.configs/centos-torrc b/.configs/centos-torrc index c59ad29..d4e62be 100644 --- a/.configs/centos-torrc +++ b/.configs/centos-torrc @@ -19,4 +19,4 @@ DNSPort 9061 DNSListenAddress 127.0.0.1 VirtualAddrNetwork 10.66.0.0/255.255.0.0 -AutomapHostsOnResolve 1 +AutomapHostsOnResolve 1 \ No newline at end of file diff --git a/.configs/debian-torrc b/.configs/debian-torrc index 7c49d1f..c1a468c 100644 --- a/.configs/debian-torrc +++ b/.configs/debian-torrc @@ -19,4 +19,4 @@ DNSPort 9061 DNSListenAddress 127.0.0.1 VirtualAddrNetwork 10.66.0.0/255.255.0.0 -AutomapHostsOnResolve 1 +AutomapHostsOnResolve 1 \ No newline at end of file diff --git a/.configs/fedora-torrc b/.configs/fedora-torrc index c6aa203..19bfa8c 100644 --- a/.configs/fedora-torrc +++ b/.configs/fedora-torrc @@ -19,4 +19,4 @@ DNSPort 9061 DNSListenAddress 127.0.0.1 VirtualAddrNetwork 10.66.0.0/255.255.0.0 -AutomapHostsOnResolve 1 +AutomapHostsOnResolve 1 \ No newline at end of file diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md index 43ea695..3a604fe 100644 --- a/.github/CODE_OF_CONDUCT.md +++ b/.github/CODE_OF_CONDUCT.md @@ -43,4 +43,4 @@ Project maintainers who do not follow or enforce the Code of Conduct in good fai This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] [homepage]: http://contributor-covenant.org -[version]: http://contributor-covenant.org/version/1/4/ +[version]: http://contributor-covenant.org/version/1/4/ \ No newline at end of file diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 5957222..bb354df 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -7,4 +7,4 @@ By opening a pull request in this repository, you agree to provide your work und ## Great Re-Writings -Open a discussion issue before you begin. So we can listen to what you have to say, and we can provide a referral if it will be worth changing big parts of the project. +Open a discussion issue before you begin. So we can listen to what you have to say, and we can provide a referral if it will be worth changing big parts of the project. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 5d31e13..22cdb59 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -17,6 +17,4 @@ ### Your Environment - OS: {Please write here} -- nipe version: {Please write here} - - +- nipe version: {Please write here} \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 066b2d9..6bcce42 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -14,4 +14,4 @@ A clear and concise description of what you want to happen. A clear and concise description of any alternative solutions or features you've considered. **Additional context** -Add any other context or screenshots about the feature request here. +Add any other context or screenshots about the feature request here. \ No newline at end of file diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 33d061c..0fd63ce 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -13,5 +13,4 @@ ### Additional Comments (if any) -{Please write here} - +{Please write here} \ No newline at end of file diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index c1337d9..0c3a49b 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -15,4 +15,4 @@ jobs: sudo cpan install Switch JSON LWP::UserAgent Config::Simple sudo cp .configs/debian-torrc /etc/tor/torrc sudo chmod 644 /etc/tor/torrc - perl nipe.pl status + perl nipe.pl status \ No newline at end of file diff --git a/LICENSE.md b/LICENSE.md index a2c9790..089db42 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -2,7 +2,7 @@ License ============== The MIT License (MIT) -Copyright (c) 2015-2019 Heitor Gouvêa +Copyright (c) 2015 - 2019 Heitor Gouvêa Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +THE SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index 5534b16..15ff537 100644 --- a/README.md +++ b/README.md @@ -80,4 +80,4 @@ #### License -- This work is licensed under [**MIT License.**](https://github.com/GouveaHeitor/nipe/blob/master/LICENSE.md) +- This work is licensed under [**MIT License.**](https://github.com/GouveaHeitor/nipe/blob/master/LICENSE.md) \ No newline at end of file diff --git a/SECURITY.md b/SECURITY.md index 511e29a..49df5aa 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -4,4 +4,4 @@ If you find a security issue with Nipe, please DO NOT submit it via the issue tr Even in cases where you have limited or incomplete information, or you're not sure whether or not a problem constitutes a security issue, please make contact as soon as possible. We can work together to investigate, debug, and assess. -Your help is greatly appreciated in keeping Nipe secure! +Your help is greatly appreciated in keeping Nipe secure! \ No newline at end of file diff --git a/lib/Nipe/CheckIp.pm b/lib/Nipe/CheckIp.pm index 0f24e79..e563495 100644 --- a/lib/Nipe/CheckIp.pm +++ b/lib/Nipe/CheckIp.pm @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl package Nipe::CheckIp; @@ -35,4 +35,4 @@ sub new { } } -1; +1; \ No newline at end of file diff --git a/lib/Nipe/Device.pm b/lib/Nipe/Device.pm index 8e32c71..351d457 100644 --- a/lib/Nipe/Device.pm +++ b/lib/Nipe/Device.pm @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl package Nipe::Device; @@ -56,4 +56,4 @@ sub getSystem { return $distribution; } -1; +1; \ No newline at end of file diff --git a/lib/Nipe/Functions.pm b/lib/Nipe/Functions.pm index 2c462f2..dad8431 100644 --- a/lib/Nipe/Functions.pm +++ b/lib/Nipe/Functions.pm @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl package Nipe::Functions; @@ -52,4 +52,4 @@ sub install { system ("sudo chmod 644 /etc/tor/torrc"); } -1; +1; \ No newline at end of file diff --git a/lib/Nipe/Start.pm b/lib/Nipe/Start.pm index 591570e..4c37b3d 100644 --- a/lib/Nipe/Start.pm +++ b/lib/Nipe/Start.pm @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl package Nipe::Start; @@ -70,4 +70,4 @@ sub new { return true; } -1; +1; \ No newline at end of file diff --git a/lib/Nipe/Stop.pm b/lib/Nipe/Stop.pm index 25a1d58..d86a985 100644 --- a/lib/Nipe/Stop.pm +++ b/lib/Nipe/Stop.pm @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl package Nipe::Stop; @@ -21,4 +21,4 @@ sub new { return true; } -1; +1; \ No newline at end of file diff --git a/nipe.pl b/nipe.pl index 5b90981..2a02566 100755 --- a/nipe.pl +++ b/nipe.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl ######################################################### # Nipe developed by Heitor Gouvêa # @@ -49,4 +49,4 @@ sub main { } main(); -exit; +exit; \ No newline at end of file diff --git a/setup.sh b/setup.sh index 1b8fa7f..557a5a1 100644 --- a/setup.sh +++ b/setup.sh @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/usr/bin/env bash curl -L https://cpanmin.us | perl - --sudo App::cpanminus cpanm Switch JSON LWP::UserAgent Config::Simple