Search found 10 matches

by souk
Thu Mar 12, 2020 10:53 am
Forum: Coding Questions
Topic: Base64Decoder Returns an empty string
Replies: 6
Views: 1927

Re: Base64Decoder Returns an empty string

Thank you very much!
If the strings do not always start with zero bytes, the response from the server is chaotic in general, as in this case?
by souk
Thu Mar 12, 2020 10:24 am
Forum: Coding Questions
Topic: Base64Decoder Returns an empty string
Replies: 6
Views: 1927

Re: Base64Decoder Returns an empty string

How can we fix this?
In many lines there are zero bytes and each time the number is different, can eat with force to decode despite these bytes?
Thank you!
by souk
Thu Mar 12, 2020 9:25 am
Forum: Coding Questions
Topic: Base64Decoder Returns an empty string
Replies: 6
Views: 1927

Base64Decoder Returns an empty string

In a string encoded in urlencode, purebasic returns an empty string, under other conditions, decoding occurs correctly.
Procedure.s DecodeOnlyBase64(Text$)
Protected *memDecod = AllocateMemory(Len(Text$))
Base64Decoder(Text$, *memDecod, Len(Text$))
Text$= PeekS(*memDecod , -1, #PB_UTF8 ...
by souk
Tue Oct 22, 2019 2:52 am
Forum: Coding Questions
Topic: Become authorized on ebay.com
Replies: 5
Views: 2481

Re: Become authorized on ebay.com

The fact is that this script processes on the client side, collects data and sends it to the server, on the basis of this data cookies are generated.
It turns out that to get these cookies, it is necessary to send to the ebay server the data that collects this script, or to let this script work in ...
by souk
Mon Oct 21, 2019 6:23 pm
Forum: Coding Questions
Topic: Become authorized on ebay.com
Replies: 5
Views: 2481

Re: Become authorized on ebay.com

You have to use libcurl.pbi.

With the native libcurl stuff it is possible to handle the cookies.

The fact is that the js-loaded script
< script type = "text/javascript" src = "/nkfytkqtoxtljvzb.js" defer > </script >
(15 line of the source code of the https://signin.ebay.com/ws/eBayISAPI.dll ...
by souk
Mon Oct 21, 2019 9:11 am
Forum: Coding Questions
Topic: Become authorized on ebay.com
Replies: 5
Views: 2481

Become authorized on ebay.com

Hello.
I can 't log in programmatically, the problem is cookies, but I can 't figure it out.
The site collects and sends a lot of information about the connected user to the server with this script:
https://dropmefiles.com/eZ5Uf

At the back are sent cookies with the flag http ponly, so js by the ...
by souk
Sun Oct 20, 2019 8:33 am
Forum: Coding Questions
Topic: How to capture http headers from webgadget?
Replies: 1
Views: 1255

How to capture http headers from webgadget?

Hello.
The title sets out the whole point of the matter.
You must intercept http headers from webgadget.
i thank.
by souk
Thu Oct 17, 2019 10:48 am
Forum: Applications - Feedback and Discussion
Topic: PB.Ex WebGadget (Windows) (WebKit)
Replies: 97
Views: 107414

Re: PB.Ex WebGadget (Windows) (WebKit)

zikitrake wrote:
The thread needs to wait until the page is fully loaded
And how still it is possible to receive cookie with webgadget with HttpOnly flag?
Javascript does not take cookie with HttpOnly flag.
by souk
Thu Oct 17, 2019 7:40 am
Forum: Applications - Feedback and Discussion
Topic: PB.Ex WebGadget (Windows) (WebKit)
Replies: 97
Views: 107414

Re: PB.Ex WebGadget (Windows) (WebKit)

Hello!
The ExecuteWebGadgetExJavaScript function does not return the result to javascript if it is carried out from a flow.



EnableExplicit

Global PBEx_WebGadget

Enumeration
#win
EndEnumeration

CompilerIf #PB_Compiler_Processor = #PB_Processor_x86
PBEx_WebGadget = OpenLibrary(#PB_Any, "PB.Ex ...