|
|
#1 |
|
Junior Member
Join Date: Sep 2007
Posts: 2
|
Inetc post urlencode unicode
We are trying to figure a way to use the Inetc plugin post method with parameters that need to be urlencoded using unicode.
Does anyone know of a way to do this? Does anyone have some NSIS script snippet that does this? Thanks for you time. |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
|
Can you explain where do you want to use unicode: in URL encoded parameters (will be sent in http header, no ideas how to use unicode) or in the post message (http body, may be unicode I guess). Please note HEADER Inetc option (may be used to define content type in the second case):
/HEADER Adds or replaces http request header. Common HEADER_TEXT format is "header: value". |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2007
Posts: 2
|
At a minimum we need the body to be urlencoded.
We have text input for a form that needs conversion into urlencoded format and then POSTed. |
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
|
While NSIS installers not use unicode, IMHO best way is to modify plug-in - for POST request conver user input ASCII string to unicode (in plug-in' C code) and use it in request. And do not forget to set correct charset in content type header.
Edited: BTW KAV reports not-a-virus:FraudTool.Win32.Takedawnload.a (detected May 21 2007, last plug-in update August 11 2007) on some test samples built using inetc.dll. Hackers use inetc?
Last edited by Takhir; 6th September 2007 at 11:51. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|