SShortSingh.
Back to feed

Reverse-engineering a login password's RSA encryption in a JS case study

0
·2 views

A sanitized educational write-up examines how an enterprise office platform encrypts login passwords on the client side. The site routes logins through a third-party identity-as-a-service provider, and captured traffic shows the account sent in plaintext while the password appears as a variable-length hex string, consistent with RSA. The analysis notes that the core difficulty lies not in the standard algorithm but in a big-integer RSA implementation, a choice among three hard-coded public keys, and a single webpack bundle that must be environment-shimmed before running. It also highlights that the plaintext is URI-encoded before encryption and that a separate captcha verification ticket is needed alongside the password. The author describes locating the relevant function by searching for keywords like RSA and encryptedString in the bundle. All domains and site-specific constants are replaced with placeholders, and the piece frames itself as an explanation of the technique rather than a guide to abusing any service.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Why the First Two Weeks of an AI Deployment Decide Its Outcome

An engineer embedded with a customer during the opening stretch of a deployment works to replace assumptions with facts before building anything. The brief written in a meeting room often describes a proxy rather than the real problem, which becomes clear only after observing daily operations. The article outlines five principles: focus on the actual problem rather than a stated tool, request data and system access immediately, examine raw unfiltered data before designing, select a small but meaningful first workflow, and identify every stakeholder who could block the work. Skipping this phase, it argues, results in building the wrong solution efficiently. Early discovery turns potential delays into useful signals about how the deployment will run.

0
ProgrammingDEV Community ·

Semurg answers 4-hop query on 1.8-billion-edge graph in 1.41 s; Neo4j and FalkorDB fail to finish

A benchmark used SNAP's com-Friendster graph, with 65.6 million people and 1.8 billion relationships, under a 12 GB memory limit for every engine. Semurg answered a 4-hop query about one person's network in a median of 1.41 seconds. Neo4j loaded the graph but had not answered that query when its 2,345-second time budget ran out. FalkorDB exhausted its 12 GB memory while loading and never reached a query. Semurg also completed walks from two hops up to 131,072 hops, with run times levelling off at about 6.7 seconds beyond 16 hops because the graph is small-world. ArcadeDB, ArangoDB and SurrealDB were not fairly measured or have no result in this run and are slated for the next one.

0
ProgrammingHacker News ·

Microagi Launches Project Aimed at Accelerating Embodied AGI Development

Microagi has published a website describing its work on accelerating embodied artificial general intelligence. The item surfaced on Hacker News, where it gathered a few points and no discussion comments at the time of posting. The source material provides only the project name, a link to the company's site, and basic community engagement metrics. Specific technical details, timelines, funding, or research results are not included in the available text.

0
ProgrammingDEV Community ·

Claude Code Can Now Run on Local or Cloud Models via Ollama on Windows

A developer has published a guide showing how to run the Claude Code terminal coding agent with models served by Ollama instead of Anthropic's accounts. The setup requires Node.js for installing Claude Code, the Ollama app on Windows, and a local model chosen from Ollama's list, such as the small qwen3.5:0.8b used in the example. Local models keep prompts and code on the user's machine but depend heavily on hardware and model size. For more capable models, Ollama's cloud options can be used after signing in, though these send prompts to Ollama's servers and have usage caps.