PatrickJS / everyone-ssn-usa

releasing everyone's SSN and the hacks used to acquire them
MIT License
318 stars 28 forks source link

SSN is missing #15

Open mmahmad opened 3 months ago

mmahmad commented 3 months ago

It seems like the SSN 609-59-1234 is missing. Could you please add it?

grep "609-59-1234" batch-* returns empty.

BBaoVanC commented 3 months ago

For some reason the program stops after all numbers beginning with 103. https://github.com/PatrickJS/everyone-ssn-usa/blob/25f60dd3f70b167b788233658180fce5175644d2/script.mjs#L64

hmaxlamb commented 3 months ago

you need to do "grep -R" to run grep over all the nested files in a directory. That's how I found mine in batch C. 87-69-6987

jalcine commented 3 months ago

Are y'all legit posting your SSNs here? Lol

Edit: NVM saw the Rust issue; this is a hee-hee har har

bradkovach commented 3 months ago

The "group" (two digits in the middle) is not generated properly. The variable c is looped from 0 to 10, and it should be looped from 1 through 99.

https://github.com/PatrickJS/everyone-ssn-usa/blob/25f60dd3f70b167b788233658180fce5175644d2/script.mjs#L9

I am trying to push a branch to submit a PR, but the newly-generated data is 10x the size, and git is not having a good time.

mmahmad commented 3 months ago

We may want to optimize the script to fetch the SSNs locally instead of uploading all of them to GitHub.

Something easy for users to see if the SSN is present:

./check --ssn <input>

The script can be very optimal:


function check(ssn) {
  return validate(ssn);
}

function validate(ssn) {
  // Regular expression to match the SSN pattern
  const regex = /^(?!000|.+0{4})(?:\d{9}|\d{3}-\d{2}-\d{4})$/;
  return regex.test(ssn);
}

This will make sure every SSN is always found and avoid having the need to upload the SSNs publicly.

BBaoVanC commented 3 months ago

The "group" (two digits in the middle) is not generated properly. The variable c is looped from 0 to 10, and it should be looped from 1 through 99.

https://github.com/PatrickJS/everyone-ssn-usa/blob/25f60dd3f70b167b788233658180fce5175644d2/script.mjs#L9

I am trying to push a branch to submit a PR, but the newly-generated data is 10x the size, and git is not having a good time.

I'm assuming this is on purpose since if you generate all SSNs, it's like 15 GiB (I can't remember exactly how much it was)

BBaoVanC commented 3 months ago

We may want to optimize the script to fetch the SSNs locally instead of uploading all of them to GitHub.

We should make a FUSE filesystem driver which generates the files on the fly. There would be a tiny problem as it would be Linux only, but I'm sure it can be worked around.