Conversation
NetBanking login on hdfcbank.com now redirects to now.hdfc.bank.in, while the official site and interstitial still advertise both domains. Share credentials from hdfcbank.com to hdfc.bank.in and apply the same 8–15 IPIN rule already documented for hdfc.bank.in. Signed-off-by: Mangesh Raut <mbr63@drexel.edu>
rmondello
approved these changes
Sep 2, 2026
Contributor
|
Thank you for all of the liveness information and justification. |
5 tasks
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
HDFC Bank rebranded its public site to
hdfc.bank.inand now serves NetBanking atnow.hdfc.bank.in, while many bookmarks, reset/register links, and saved passwords still usehdfcbank.com. This PR:from/toshared-credentials group so passwords saved forhdfcbank.comautofill onhdfc.bank.in.hdfc.bank.inIPIN rule ontohdfcbank.com(same 8–15 policy).This is one bank only (HDFC). No change-password URL: the remaining reset pages are OTP flows, not a logged-in password change page, and
netbanking.hdfcbank.comis Cloudflare-challenged from some networks.Shared credentials evidence (live, 2026-09-02)
Login on
hdfcbank.comredirects tohdfc.bank.in:https://now.hdfcbank.com/→ 301https://now.hdfc.bank.in/→ 302https://now.hdfc.bank.in/retail-app/(200, title Welcome to HDFC Bank NetBanking).https://netbanking.hdfcbank.com/netbanking/→ 308https://now.hdfc.bank.in/→ same retail-app login.That matches CONTRIBUTING’s
from/tocase (fromdomains redirect tototo log in).fromDomainsAreObsoletedistruebecause those login hostnames no longer serve the form themselves.Official site still treats both names as HDFC NetBanking:
https://www.hdfc.bank.in/LOGIN menu lists NetBanking. CSPdefault-src/frame-ancestorsexplicitly allow*.hdfcbank.comand*.hdfc.bank.in.https://v.hdfc.bank.in/assets/popuppages/netbanking.html(live 200):https://now.hdfc.bank.in/retail-app/https://netbanking.hdfcbank.com/netbanking/IpinResetUsingOTP.htmhttps://netbanking.hdfcbank.com/netbanking/registrationUsingOTP.htmhttps://netbanking.hdfc.bank.in/netbanking/(that hostname currently has no public DNS) and the same interstitial.sharedwould be wrong:hdfcbank.comNetBanking URLs do not keep a login form; they bounce tonow.hdfc.bank.in.Password rules evidence
Existing quirk for
hdfc.bank.in(merged in #1138):minlength: 8; maxlength: 15; required: digit; required: upper, lower; allowed: [@&:|.^~#_$!)?];This PR applies the same string to
hdfcbank.comso generation stays consistent across the shared backend.Live T&C (
https://www.hdfc.bank.in/resources/way-to-bank/online-banking/net-banking/terms-and-conditions, section 1.15 IPIN):The T&C floor (6) is weaker than the registration UI. Credit-card registration
CCUserReg.html(Wayback 2025-04-15 ofhttps://netbanking.hdfcbank.com/netbanking/CCUserReg.html) stated min 8 / max 15, mix of alphabets, numbers, special characters, case-sensitive; client JS usedminlen=8, maxlen=15and rejected%,;,",'. That matches the existinghdfc.bank.inquirk (8–15, digit + letter, limited specials). The livenow.hdfc.bank.in/retail-app/SPA is a Customer ID login (password collected after ID); it does not contradict the 8–15 IPIN cap.The rule was parsed with this repo’s
PasswordRulesParser.js(min 8, max 15, required digit, required upper-or-lower, allowed specials). I did not submit generated IPINs into a live reset/register form: thosehdfcbank.compages return Cloudflare 403 from this environment and require OTP + debit-card details.Overall Checklist
for password-rules.json
hdfc.bank.inin Add password rules for hdfc.bank.in #1138; parser in this repo accepts it)for shared-credentials.json
fromandto, thefromdomain(s) redirect to thetodomain to log in.