tercmd
Re:Infinite Craft
on Thursday February 01, 2024 @10:44AM (#39217133)
The state can be re-imported like this:
```
a = (insert JSON output here)
window.$nuxt.$root.$children[2].$children[0].$children[0]._data.elements = a.elements; window.$nuxt.$root.$children[2].$children[0].$children[0]._data.discoveries = a.discoveries;
```
Re:A Decade of Have I Been Pwned
on Wednesday December 06, 2023 @02:55AM (#38541466)
The k-anonymity API makes it such that the password doesn't have to be sent to HIBP, but the first 5 characters of its SHA1 hash.
This returns a list of possible suffixes which can be checked for the actual password to see how many have been breached.
For example, a search for "abc" with the hash "a9993e3...89d" becomes:
`curl -s https://api.pwnedpasswords.com/range/A9993 | grep -i e364706816aba3e25717850c26c9cd0d89d`
which returns `E364706816ABA3E25717850C26C9CD0D89D:226273` indicating that the password has been seen 226,273 times
Re:A Decade of Have I Been Pwned
on Wednesday December 06, 2023 @02:43AM (#38541382)
The Pwned Passwords lookup returns just the number of breaches without any hashes or plaintext passwords. This would not make such an attack possible.
Show HN: AI Memory Overflow – testing AI model context lengths with long prompts
Re:Everything ChatGPT – under the hood of the ChatGPT web app
on Friday March 24, 2023 @10:30AM (#35289525)
(Creator of the repo here) The repo now has some client-side JS (unminified). https://github.com/terminalcommandnewsletter/everything-chat...
Re:Everything ChatGPT – under the hood of the ChatGPT web app
on Friday March 24, 2023 @05:09AM (#35286738)
If you block the `/backend-api/moderations` endpoint, that (as expected) doesn't block the AI from not giving you an answer.
Re:Everything ChatGPT – under the hood of the ChatGPT web app
on Friday March 24, 2023 @12:25AM (#35285075)
Turns out, this actually does work.
Re:Everything ChatGPT – under the hood of the ChatGPT web app
on Thursday March 23, 2023 @11:30AM (#35276363)
(Creator of the repo here) Likely ONLY due to HN, the stats for the repo have BLOWN UP in the last day. It went from ~200 unique visitors and visits in one day to 8,689 unique visitors with 10,000+ total visits!
Re:Everything ChatGPT – under the hood of the ChatGPT web app
on Thursday March 23, 2023 @11:25AM (#35276284)
I've not tested it further, but I wondered what happened when I saw a "Plus subscriber login link" input field - resulted in that. In fact, I wonder if one could automate the request to the API endpoint (all headers, authorization and everything) when the browser sees a "ChatGPT down" message. (Of course, you have to click the link in the email, but if you grant the tool access to your email to automate that, that probably isn't the best thing for "principle of least privilege")
Re:Everything ChatGPT – under the hood of the ChatGPT web app
on Thursday March 23, 2023 @11:19AM (#35276204)
In some of the ChatGPT client-side JS (visible in the Debugger tab of DevTools), I could see references like `\triangle`. However, asking ChatGPT to print either as it is just prints the text itself.
Re:Everything ChatGPT – under the hood of the ChatGPT web app
on Thursday March 23, 2023 @11:17AM (#35276176)
(Creator of the repo here) That is somewhat present in the `/backend-api/moderations` endpoint where the app sends your question + ChatGPT's response to (first time just your question, second time both)