Closed

Cell phone sms RSA MD5

Very small app able to send and receive encrypted sms, and store a few parameters.

Needs to work on any standard cell phone.

Each app is unique, with its own rsa hardcoded keys and parameters, and is stored on the sim.

"computer-like" specs (of course, I did it in 5 minutes, so it probably has bugs....

Feel free to change for the better, as long as the idea remains unchanged):

#===============================================================================

Hardcoded Variables:

#===============================================================================

default_password = "xxxxxxxxxxxxxxxxxxxxx"

default_send_to_phone="123456"

private_key="kkkkkkkkkk"

public_key="pppppppp"

this_phone = "789456"

this_emei = "2068972354566"

#===============================================================================

Login:

#===============================================================================

password = ask_for_password()

attempts = retrieve_from_storage(attempts) || 0

time = retrieve_from_storage(time) || now

can_continue = 1

if attempts > 3

if time < now + 6 hours

attempts=stored_attempts + 1

time=now

can_continue=0

else

previous_attempts = attempts

store(previous_attempts)

attempts = 0

end

end

if can_continue == 1

good_password = retrieve_from_storage(password) || default_password

if MD5(password) == good_password then

attempts = 0

time = now

else

attempts=stored_attempts + 1

time=now

can_continue=0

end

end

store(attempts)

store(time)

if can_continue == 1

show_main_menu

else

password = ask_for_password()

end

#===============================================================================

show_main_menu:

#===============================================================================

-Send Command

-Read Messages

-Exit Application

#===============================================================================

Send Command:

#===============================================================================

if retrieve_from_storage(time) + 5 minutes > now

command1=(field1, label1, max_size1)

command2=(field2, label2, max_size2)

....

command = input_choice(command1, command2, command3, ... )

if command == command1

value1 = input_text_field(field1, label1, max_size1)

value2 = input_text_field(field2, label2, max_size2)

.....

else if command == command2

....

end

if send_sms_button

message=phone=this_phone&emei=this_emei&command=command1&field1=value1...&

send_to_phone = retrieve_from_storage(send_to_phone) || default_send_to_phone

send_sms( send_to_phone, RSA_encode( message, public_key) )

end

time=now

store(time)

show_main_menu

else

Login

end

#===============================================================================

Read Messages:

#===============================================================================

if retrieve_from_storage(time) + 5 minutes > now

messages = select_last_5_messages_from_inbox_beginning_with("_+_")

for message in messages

decoded_message = RSA_decode( [url removed, login to view](/_+_/, "") , private_key )

display(decoded_message)

end

time=now

store(time)

else

Login

end

Skills: Cryptography, Mobile App Development

See more: sms md5, md5 sms, sms rsa, sms md5 rsa, 48 hours in minutes, very sim, SMS app, rsa, password 123456, md5, i phone 6, cell, cell phone, message phone, sms amp, sms message cell phone, password phone, unique messages, sms cell, store rsa keys, send message cell phone, phone receive, mobile sim, change sms, receive phone

About the Employer:
( 0 reviews ) Nicaragua

Project ID: #1145642

2 freelancers are bidding on average $250 for this job

getjobins

Please chek your PMB

$250 USD in 10 days
(0 Reviews)
0.0
aieseckit

best programmer

$250 USD in 3 days
(0 Reviews)
0.0