Closed tickets are hidden from the bugs list, so others will not see the answers we wrote here. I changed the project summary and the home page to reflect the project's state and marked this project as abandoned.
Closed tickets are hidden from the bugs list, so others will not see the answers we wrote here. I changed the project summary and the home page to reflect the projects state and marked this project as abandoned.
Change HTML page to show abandoned state
Login problem: ebay.de vs. ebay.com
How to close this Ticket?
Thanks for the fast help!
esniper was never properly designed to handle different ebay sites. In contrast to Biet-o-Matic, esniper does not provide different strings or patterns for handling localized ebay pages. Everything apart from the URLs is hard-coded. The last commit for esniper was in 2020, my last one in 2018. I stopped using esniper because at this time ebay made some changes that were difficult to handle. In 2020, changes in the login mechanism led to Biet-o-Matic being discontinued. I guess that esniper was also...
esniper was never properly designed to handle different ebay sites. In contrast to Biet-o-Matic, esniper does not provide different strings or patterns for handling localized ebay pages. Everything apart from the URLs is hard-coded. The last commit for esniper was in 2020, my last one in 2018. I stopped using esniper because at this time ebay made some changes that were difficult to handle. In 2020, changes in the login mechanism led to Biet-o-Matic being discontinued. I guess that esniper was also...
Since ebay changes the login mechanism esniper not nonger works. As you can see from a closer look into esniper.c, there are several options available: #define DEFAULT_HISTORY_HOST "offer.ebay.com" #define DEFAULT_PREBID_HOST "offer.ebay.com" #define DEFAULT_BID_HOST "offer.ebay.com" #define DEFAULT_LOGIN_HOST "signin.ebay.com" #define DEFAULT_MYEBAY_HOST "my.ebay.com" {"historyHost",NULL,(void*)&options.historyHost,OPTION_STRING, LOG_NORMAL, NULL, 0}, {"prebidHost",NULL,(void*)&options.prebidHost,...
Login problem: ebay.de vs. ebay.com
Is there any news? I would appreciate it if I could use my PI-hole as a sniper as well.
The esniper do not work anymore, because of the JS within the login process. A complete redesign based on java is needed. I've done some investigation with javafx, but I'm too busy at the moment to do some more development.
Hi, I'm following this ticket. What is its current status now? I pulled and compiled Michael's esniper-git-legacy on macOS but still does not work. Edit: nvm, I read other threads, looks like not an easy fix. Appreciate for your effort, Michael :)
Hi, I'm following this ticket. What is its current status now? I pulled and compiled Michael's esniper-git-legacy on macOS but still does not work.
In 2021 does esniper still work? I've had issues with it since last year. (My install I had of it stopped working) I've tried cloning both master and legacy branches. Legacy branch gives error "Error encountered in function ebayLogin in auction.c line 570" Master branch gives error " Error: Page "Security Measure". Cannot continue. " This is all despite logging into my ebay via my web browser and completing the captcha. 2FA is not enabled on my account.
It's not only a cookie issue. The whole login mechanism is different and must be changed. That's why I'm thinking about a "jsniper" based on java.
As a workaround, could someone just log in, export their cookies to a netscape-style cookies.txt file, then tell esniper to use those cookies? They may occasionally expire but this might rather quickly move the state from "completely broken" to "occasionally broken with an easy fix"
Hi, don't know if this would fit your requirements: https://github.com/yodaos-project/ShadowNode
Hi and thanks for your follow-up. That's interesting and I would give it a try for sure. By what you say, it should be something similar to BOM BE (Bid o matic browser extension) which is available for Firefox (and maybe Chrome too but I'm not sure). This is, unfortunately, out of the scope of what we're talking of here. esniper is a completely different thing. It's lightweight and it can be used on hardware with very limited resources and with just a linux shell available. I've been using it for...
Hi and thanks for your follow-up. That's interesting and I would give it a try for sure. By what you say, it should be something similar to BOM BE (Bid o matic browser extension) which is available for Firefox (and maybe Chrome too but I'm not sure). This is, unfortunately, out of the scope of what we're talking of here. esniper is a completely different thing. It's lightweight and it can be used on hardware with very limited resources and with just a linux shell available. I've been using it for...
Hi and thanks for your follow-up. That's interesting and I would give it a try for sure. By what you say, it should be something similar to BOM BE (Bid o matic browser extension) which is available for Firefox (and maybe Chrome too but I'm not sure). This is unfortunately, out of the scope of what we're talking here. esniper is a completely different thing. It's lightweight and it can be used on hardware with very limited resources and with just a linux shell available. I've been using it for years...
Hello Let me suggest this free alternative I developed : powersniper-for-ebay It is a Chrome browser extension, so it works on Linux Windows and Mac. Disclosing password is not required since the eBay Chrome browser session is used instead.
Hi. What about this one https://github.com/bgould/nestedvm instead of having to rewrite everything almost from scratch? As always, I'm not thinking my advice would be relevant (probably the exact contrary!) and I'm sure Michael has already taken into consideration all the possible scenarios and solutions. I'm just trying to help at my best (not that much!). :)
Hi, this would be very useful :-) looking long for a working snipper running on linux, just found and not working anymore any timeline planned for a first java release?
Hi Michael, That would seem to be a good approach, I agree
I currently consider to write a completely new esniper based on java. This would also solve the problem with different target architectures and the provided files can run in (almost) every java runtime environment.
Would GraalVM (https://www.graalvm.org/) be of assistance here? "It is designed for applications written in Java, JavaScript, LLVM-based languages such as C and C++, and other dynamic languages. It removes the isolation between programming languages and enables interoperability in a shared runtime." Dave
Would GraalVM (https://www.graalvm.org/) be of assistance here? It is designed for applications written in Java, JavaScript, LLVM-based languages such as C and C++, and other dynamic languages. It removes the isolation between programming languages and enables interoperability in a shared runtime. Dave
Hi Tony, if you read the discussion https://sourceforge.net/p/esniper/bugs/797/ you can see, what is the problem with the new login process. With a full functional js-Engine you can get the required cookies, but I haven't found a js-Engine with the capability of node-js, that could be used and linked with C. Greetings
Hi Tony, if you read the discussion https://sourceforge.net/p/esniper/bugs/797/ you can see, what ist the problem with the new login process. With a full functional js-Engine you can get the required cookies, but I hav'nt found a js-Engine with the capability of node-js, that could be used and linked with C. Greetings
is this the end for esniper?
Currently I'm to busy to investigate this issue. Integration a JS engine would definitely the end of a "lightweight ebay sniper".
Thanks Michael, Does this look like the end for esniper? Rob
Login Failure
Please refer https://sourceforge.net/p/esniper/bugs/797/
Login Failure
unknown pageinfo
Please refer https://sourceforge.net/p/esniper/bugs/797/
unknown pageinfo
I think, cesanta/mjs isnt suitable to solve our problem. The engine must be able to do XMLHttpRequest requestes (see https://signin.ebay.com/nkfytkqtoxtljvzb.js). It also must have full access to the DOM, which currently is a problem with nodejs.
esniper fails to log in
Please refer https://sourceforge.net/p/esniper/bugs/797/
esniper fails to log in
Hello to everyone! :) I've been a regular (and really satisfied) esniper user for years and I don't know if it's going to help or not. I fear not (I'm sure it has been already considered as a viable option by Michael and probably it fails as Duktape does or it isn't just suitable) but I make a try anyway. What about cesanta/mjs? Still a c/c++ embedded js engine, it seems with a low footprint too. I don't know, I'm just trying to help. A nice day to everyone! :)
Hello to everyone! :) I've been a regular (and really satisfied) esniper user for years and I don't know if it's going to help or not. I fear not (I'm sure It has been already considered as a viable option by Michael and probably it fails as Duktape does or It isn't just suitable) but I make a try anyway. What about cesanta/mjs? Still a c/c++ embedded js engine, it seems with a low footprint too. I don't know, I'm just trying to help. A nice day to everyone! :)
Hello to everyone! :) I've been a regular (and really satisfied) esniper user for years and I don't know if it's goimg to help or not. I fear not (I'm sure It has been already considered as a viable option by Michael and probably It fails as Duktape does) but I make a try anyway. What about cesanta/mjs? Still a c/c++ embedded js engine, It seems with a low footprint. I don't know, I'm just trying to help. A nice day to everyone! :)
esniper won't log into ebay
Please refer https://sourceforge.net/p/esniper/bugs/797/
esniper won't log into ebay
Next Update signin.js: const url = "https://signin.ebay.com/ws/eBayISAPI.dll?SignIn"; const jsdom = require("jsdom"); const { JSDOM } = jsdom; const { window } = new JSDOM(); const resourceLoader = new jsdom.ResourceLoader({ strictSSL: false, // MUST BE THE SAME LIKE ESNIPER AGENT !!! userAgent: "Mozilla/4.7 [en] (X11; U; Linux 2.2.12 i686)" //userAgent: "Mozilla/5.1 [en] (X11; U; Linux 2.2.12 i686)" }); const options = { resources: resourceLoader, runScripts: 'dangerously', pretendToBeVisual: true,...
fails to login, consistently, suddenly
Got the cookies. New code: const url = "https://signin.ebay.com/ws/eBayISAPI.dll?SignIn"; const jsdom = require("jsdom"); const { JSDOM } = jsdom; const { window } = new JSDOM(); const resourceLoader = new jsdom.ResourceLoader({ strictSSL: false, // MUST BE THE SAME LIKE ESNIPER AGENT !!! userAgent: "Mozilla/4.7 [en] (X11; U; Linux 2.2.12 i686)" }); const options = { resources: resourceLoader, runScripts: 'dangerously', pretendToBeVisual: true, virtualConsole: new jsdom.VirtualConsole(), cookieJar:...
I've installed nodejs for test purposes: $ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - (see https://linuxhint.com/install_npm_debian/) $ node --version v12.18.3 $ npm --version 6.14.6 Package: $ less package.json { "name": "ebay", "version": "1.0.0", "description": "ebay signin script", "main": "signin.js", "scripts": { "test": "node --check signin.js", "start": "node --trace-warnings signin.js" }, "author": "msp", "license": "ISC", "dependencies": { "canvas": "^2.6.1", "express":...
ebay login not working any more
See https://sourceforge.net/p/esniper/bugs/797/
ebay login not working any more
Another possibility could be translating nkfytkqtoxtljvzbxhr.js into native C code. The online tools I tried, won't do that job.
duktape doesn't work. There are several imports needed, which are available in the browser environment, but not within duktape. I'm afraid, that we have to use a "monster" like v8.
It looks like ebay have finally killed the legacy route. I managed to get round the 783 bug (which I raised) by rolling back to 2.35.0, as suggested by John Cuzzourt. That, and checking out the legacy version now both fail looking for a captcha URL.
It looks like ebay have finally killed the legacy route. I managed to get round the 783 bug (which I raised) by rolling back to 2.35.0, as suggested by John Cuzzourt. That, and checking out the legacy version now both fail looking for a captch URL.
Same problem with other sniping tools since last year: http://forum.jbidwatcher.com/forums/1/topics/6797?page=1 They also identified the cookies DGIID DGUID DGZID DGZUID DGHID DGSID as reason for the failure (see https://sourceforge.net/p/esniper/bugs/783/). This cookies are generated by nkfytkqtoxtljvzbxhr.js. There are several js engines available, e.g. https://duktape.org and similar projects, which could be called from a C program. But normaly nkfytkqtoxtljvzbxhr.js runs within a browser and...
Ah! Sorry, I didn't understand that. I thought there was still something I was doing wrong. As someone who develops opensource software myself, I understand that this is something you do in your free time, for free, and I greatly appreciate the time and effort you've put into esniper. Best of luck with your work on the new login mechanism, and I look forward to the results!
Currently I am working on the master branch, which is using the modern login mechanism. But at the moment it doesnt work at all. Please be patient ...
Update master #797
2nd attempt fixing Confirm your account issue
Merge branch 'legacy' of git://git.code.sf.net/p/esniper/git into legacy
esniper searches for special content within the sign in page, which is needed as post parameter of the html request. So... what's the way past that?
Remark: You get the Cannot connect to URL /distil_r_captcha.html?requestId=8e1d56db-edb0-47e3-9aff-10f1cd9aea4a&httpReferrer=%2Fws%2FeBayISAPI.dll%3FSignIn: URL using bad/illegal format or missing URL: message, because this is the brute force protection (captcha image) and you have'nt used the latest commit from the legacy branch. If you do this, you get . . findAttr cannot find <label for="userid" then upload and attach esniper.30717.1.bug.html and click submit. which means, that an unexpected page...
As I mentioned in https://sourceforge.net/p/esniper/support-requests/28/ Currently eBay doesnt accept the legacy signin URL https://signin.ebay.com/ws/eBayISAPI.dll?co_partnerId=2&siteid=0&UsingSSL=1 and redirects all requests to https://signin.ebay.com/ws/eBayISAPI.dll?SignIn with the annoying JS stuff. This issue couldn't be solved by now. See discussion https://sourceforge.net/p/esniper/bugs/783/
I tried updating to the latest commit on legacy branch and now I get: Auction 233675128459: Cannot connect to URL /distil_r_captcha.html?requestId=8ae0850d-72ee-4270-91c4-1fd7b132870d&httpReferrer=%2Fws%2FeBayISAPI.dll%3FSignIn: URL using bad/illegal format or missing URL: Retrying... Auction 233675128459: Cannot connect to URL /distil_r_captcha.html?requestId=8e1d56db-edb0-47e3-9aff-10f1cd9aea4a&httpReferrer=%2Fws%2FeBayISAPI.dll%3FSignIn: URL using bad/illegal format or missing URL: Retrying......
Detail report from console: paste this into "Detailed Description": Automated esniper bug report. esniper version 2.35.0 libcurl/7.68.0 GnuTLS/3.6.14 zlib/1.2.11 brotli/1.0.7 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.8.0 nghttp2/1.41.0 librtmp/2.3 Error encountered in function ebayLogin in auction.c line 672 auction = 233675128459, price = 151, remain = 0 latency = 0, result = -1, error = 19 buf = 0x55dcd69a47b0, size = 93310, read = 0x55dcd69a47b0 time = 1597471242, offset = 0 pagename...
fails to login, consistently, suddenly
New commit [bfb7d1] But: Currently eBay doesnt accept the legacy signin URL https://signin.ebay.com/ws/eBayISAPI.dll?co_partnerId=2&siteid=0&UsingSSL=1 and redirects all requests to https://signin.ebay.com/ws/eBayISAPI.dll?SignIn with the annoying JS stuff.
2st attempt fixing Confirm your account issue
Please try commit [a5d931]. Now the Page will be simple ignored.
1st attempt fixing Confirm your account issue
Got it: . . latency = 0, result = -1, error = 19 buf = 0x3130c8, size = 11866, read = 0x3130c8 time = 1597332661, offset = 0 pagename = "Confirm your account", pageid = "(null)", srcid = "(null)" . . The page looks like this: Choose how you'd like to receive your confirmation code We'll send a message to the option you select. o By Phone (voice or text) o By Email Continue Cancel Todo: We have to implement pressing 'Cancel'.
If you had set up 2FA, it won't work, because you have to type in a token every time you log in. You have to use an account without 2FA !!!
Ok, thanks. Does esniper work with ebay's 2fa? I've resisted setting it up (despite ebay's prompting at every login) thinking that it may break esniper.
Ok, thanks. Does esniper work with ebay's 2fa?
Install on DSM 5.x (Synology)
Currently I cannot reproduce your problem. If get a "confirm your account" message, I use a browser to solve the "puzzle captcha" and start esniper again. Everything is fine then. Important: You have to use www.ebay.com in your browser AND esniper ! Different URLs wont work !
Thanks for the response, but I did that multiple times before posting
First of all: The only working version of esniper is the legacy branch. The solution to your problem is very simple: Use you prefered browser and logout from ebay.com (if you are logged in). Then loggin again and answer the questions during the loggin process. After that, you can start esniper again and everything works fine.
Auth problems
Time remaining not found
Doh! I'm an idiot. Thanks!
Item 264813200660 isn't an auction. If you want to buy it: Just buy it via the "By it Now" button. See #441
Tried legacy, still fails on the auction in the original post. Other auctions are fine.
You need to build esniper from the legacy (with ist currently the defaut) branch.
I'm aware that the same version number doesnt' mean the same code, but if it's the same tarball from the download link, then it should be. I did a build from git master, and now I can't get past login. It gets caught on the security page, I did what I usually do to work around this: go to a browser and logout/in, but I continue to get hit on this and now now auctions work: $ esniper .esniper_auction Auction 203062966253: Cannot connect to URL https://www.ebay.com/distil_r_captcha.html?requestId=77acfa18-c11f-4398-94b5-05fcda867bdc&httpReferrer=%2Fsignin%2Fs6.crl...
The same version number does not mean, that the sources are identical. I've checked esniper using a build from git and it works. No error.
On the page that occurred, you are prompt to type a bid ("Enter your maximum bid:"). Did you miss to enter a price in your auction file ?
my auction file has: 264813200660 41 in it. As to the build, no I downloaded the latest tarball and built that back in February... and it looks like its still the latest (2.35.0).
On the page that occourd, you are prompt to type a bid ("Enter your maximum bid:"). Did you miss to enter a price in your auction file ?
Did you build esniper from the 'legacy' branch git repository ?
Time remaining not found
Thank you legacy branch worked. Great work guys!
Modified README
You need to build esniper from the legacy branch.