SoftPerfect Network Scanner
How to avoid %2 in URLs being replaced with a MAC address
Started by rmpf2
rmpf2
How to avoid %2 in URLs being replaced with a MAC address 31 December 2016, 15:24 |
|
Re: How to avoid %2 in URLs being replaced with a MAC address 31 December 2016, 17:05 |
Admin Registered: 19 years ago Posts: 3 611 |
Rmpf2
Re: How to avoid %2 in URLs being replaced with a MAC address 31 December 2016, 23:10 |
In applications I define a new one that call Internet Explorer to browse for an specific address with similar values used by NS that cannot be replaced because the web server misunderstands the search call and returns an error.
Example:
http://localhost/script/../...%3%2C.....%5Fvalue...
In NS manual there is something similar but with {}:
"...Since the Network Scanner interprets braces as user-prompted parameters, you may have problems with passing a value containing braces, for example a GUID. In this case double the braces, e.g. myapp.exe {{12345678-ABCD-EFGH-1234-567890ABCDEF}}, so that this value is not treated as a user-prompted parameter."
I'm having problems passing values that contain %2, so I am asking if you could design an alternative method to bypass the replacement so this value is not treated as the NS internal system MAC value.
Example:
http://localhost/script/../...%3%2C.....%5Fvalue...
In NS manual there is something similar but with {}:
"...Since the Network Scanner interprets braces as user-prompted parameters, you may have problems with passing a value containing braces, for example a GUID. In this case double the braces, e.g. myapp.exe {{12345678-ABCD-EFGH-1234-567890ABCDEF}}, so that this value is not treated as a user-prompted parameter."
I'm having problems passing values that contain %2, so I am asking if you could design an alternative method to bypass the replacement so this value is not treated as the NS internal system MAC value.
|
Re: How to avoid %2 in URLs being replaced with a MAC address 01 January 2017, 00:34 |
Admin Registered: 19 years ago Posts: 3 611 |
Rmpf2
Re: How to avoid %2 in URLs being replaced with a MAC address 01 January 2017, 01:10 |
|
Re: How to avoid %2 in URLs being replaced with a MAC address 01 January 2017, 01:24 |
Admin Registered: 19 years ago Posts: 3 611 |
Sure, simply send a message using our support contact centre.
|
Re: How to avoid %2 in URLs being replaced with a MAC address 01 January 2017, 16:01 |
Admin Registered: 11 years ago Posts: 1 000 |
A solution: use unencoded URLs.
That is, instead of using
http://localhost/script/xxxx?xxx=%2&xxxx=http%3A%2F%2Flocalhost%2Fxxxx%2C%5CPortableApps%5Cxxxx...
use this URL
http://localhost/script/xxxx?xxx=%2&xxxx=http://localhost/xxxx,\PortableApps\xxxx...
Not only is it easier to read, but the incorrect replacement would also not occur. The encoding process (converting of slashes and other non-alphanumeric characters to codes) should be done by the browser.
A URL decoder (e.g. www.urldecoder.org) may be helpful for simplifying your URLs.
That is, instead of using
http://localhost/script/xxxx?xxx=%2&xxxx=http%3A%2F%2Flocalhost%2Fxxxx%2C%5CPortableApps%5Cxxxx...
use this URL
http://localhost/script/xxxx?xxx=%2&xxxx=http://localhost/xxxx,\PortableApps\xxxx...
Not only is it easier to read, but the incorrect replacement would also not occur. The encoding process (converting of slashes and other non-alphanumeric characters to codes) should be done by the browser.
A URL decoder (e.g. www.urldecoder.org) may be helpful for simplifying your URLs.