Open-AudIT

What's on your network?
It is currently Sun Jan 21, 2018 9:04 am

All times are UTC + 10 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Password with dash/minus
PostPosted: Wed Feb 26, 2014 1:42 pm 
Offline
Newbie

Joined: Mon Jun 18, 2012 6:26 pm
Posts: 32
Hello dear forum,

I just got a problem when trying to register the default_ssh_password with dash/minus included in ahead.
It automatically returns the "false" value right after applied.

How can I pass this problem?

Image


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 26, 2014 4:18 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1933
Location: Brisbane, Australia
I cannot replicate this. Having said that...

If you look in the file open-audit/code_igniter/config/config.php you will see a line to set the $config['permitted_uri_chars'] variable. Make sure this has a - in it somewhere. CodeIgniter will not allow and character that is not contained in this line to be sent via a GET. Unfortunately passwords do tend to contain lots of weird characters. You can remove the string contents altogether if you like to permit ANY character. Note that the CodeIgniter developers recommend NOT doing this.

FYI - My current line looks like this:
Code:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:|(),_\-!=&[]@*';

_________________
Support and Development hours available from Opmantek.
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 26, 2014 6:40 pm 
Offline
Newbie

Joined: Mon Jun 18, 2012 6:26 pm
Posts: 32
Thanks Mark, I probably give it a try.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group