PatrolServer/bashscanner

Doenst work on centos 4

Closed this issue · 4 comments

-bash-3.00# bash compiled.sh                                                                                                                                                 
> Hi root,                                                                                                                                                                   
> PatrolServer.com at your service.                                                                                                                                          
> I'm starting...                                                                                                                                                            

compiled.sh: line 547: ENCODED+=c: command not found                                                                                                                         
compiled.sh: line 547: ENCODED+=p: command not found                                                                                                                         
compiled.sh: line 547: ENCODED+=a: command not found                                                                                                                         
compiled.sh: line 547: ENCODED+=n: command not found                                                                                                                         
compiled.sh: line 547: ENCODED+=e: command not found                                                                                                                         
compiled.sh: line 547: ENCODED+=l: command not found                                                                                                                         
compiled.sh: line 547: ENCODED+=.: command not found                                                                                                                         
compiled.sh: line 547: ENCODED+=x: command not found                                                                                                                         
compiled.sh: line 547: ENCODED+=l: command not found                                                                                                                         
compiled.sh: line 547: ENCODED+=-: command not found                                                                                                                         
compiled.sh: line 547: ENCODED+=i: command not found                                                                                                                         
compiled.sh: line 547: ENCODED+=s: command not found                                                                                                                         
compiled.sh: line 547: ENCODED+=.: command not found                                                                                                                         
compiled.sh: line 547: ENCODED+=n: command not found                                                                                                                         
compiled.sh: line 547: ENCODED+=e: command not found                                                                                                                         
compiled.sh: line 547: ENCODED+=t: command not found                                                                                                                         
> patrolserver.com is not reachable, contact us (3) 

Why are you running this on a EOL OS?

I have some old servers with sadly, legacy code which I'm interested in scanning.

CentOS 5 also doens't work:

> patrolserver.com is not reachable, contact us (7) 

Also, RHEL 4 is still supported if you pay redhat:

Red Hat Enterprise Linux 4 is offered with seven years of Production Phase support followed by an Extended Life Phase. In addition, customers may purchase annual Add-on subscriptions called Extended Life Cycle Support (ELS) that provide similar support to Production Phase 3 through March 31, 2017.

https://access.redhat.com/support/policy/updates/errata

CentOS is not on our supported list ATM. So the yum packages aren't checked. Though the script should work for Drupal modules and Composer modules.

I've now checked CentOS7 and it works, so now going down and check CentOS 6 and 5.

And some fixes were done for this issue:
ac77cf4
1591b7c
8c77dcc
20bd8a8

So CentOS5 + CentOS6 + CentOS7 are supported for Drupal and Composer modules