Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You have heard about a new online chat service that had become quite popular and has very tempting features but regrettably you can't afford it.

You have heard about a new online chat service that had become quite popular and has very tempting features but regrettably you can't afford it. However, a friend of yours has just left the company which is developing this service, and he shared some of the source files with you that are part of the backend, and they seem suspicious Especially these two files:
image text in transcribed
personal.h #include stdint.h #include typedef struct personal t char full name [128; char address [1281; char acc_number [32]; uint32 t balance personal t; int8 t strcpy_max(char* dst, const char* src, uint8_t max); int8 t personal store(personal t data, const chars full name, const char* address, const char* acc_number, uint32_t balance); personal.c int8 t strcpy_max(char* dst, const char* src, uint8_t max) uint8_t len strlen ( src); if(!en len > max) return -1 strcpy(dst,src); return int8 t personal store(personal t* data, const chars full name, const char* address, const char* acc_number, uint32 t balance) ( data-balance balance; if(strcpy-max (data-xfuu-name, full-name, 127)) return 1; if (strcpy max(data->address,address, 127)) return 2; ?f (strcpy-max (data->acc-number,acc-number,31)) return 3; return 0 If you are able to find a vulnerability, you can make more than enough money from nothing to pay for their services eternally At first it might sound difficult, but it's not impossible, there was a woman who almost won 43 million dollars on a slot machine because of an integer overflow bug, but she was only offered a steak dinner and 2 dollars. Even though she did it accidentally, maybe you can utilise this type of bug to change your balance in your account

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual C# And Databases

Authors: Philip Conrod, Lou Tylee

16th Edition

1951077083, 978-1951077082

More Books

Students also viewed these Databases questions

Question

In an Excel Pivot Table, how is a Fact/Measure Column repeated?

Answered: 1 week ago