June 24, 2017, 05:04:59 PM
Welcome, Guest. Please login or register.

When in doubt...WPS!

Author Topic: Valentines script  (Read 789 times)

Online ch3rn0byl

  • Top Hat Member
  • Experienced
  • ********
  • Posts: 186
  • Internets: +1337/-0
  • Grumpy Old Man with Mounds of Salt
Valentines script
« on: February 09, 2017, 09:05:33 PM »
Evening!

Valentines coming up and what is better than a cool 1337 hacker dude to make a loving and romantic script for your so? You'll actually be a hero!
Twilio is NOT free, but it's a service that I use quite a bit. Obviously, you'll take the time of nice shit to replace in the list and put some thought to it.

How can you use this?

A cronjob for every hour on the hour? or some other random time??

Anywho, enjoy

Code: [Select]
from twilio.rest import TwilioRestClient
import random

# put your own credentials here
ACCOUNT_SID = ''
AUTH_TOKEN = ''

client = TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN)

romanticMessages = [
    'Say ho, no cheddar on my sandwich. I dont like it',
    'Get nekkid',
    'You look hotter in the dark. Lets keep it that way',
    'Lose weight'
]

def sendMessage(message):
    client.messages.create(
        to = '',        # Your SO
        from_= '',      # You twilio number
        body = message)

message = random.choice(romanticMessages)
sendMessage(message)
print('[+] Sent: {}'.format(message))
The quieter you become, the more you are unlikely to sound stupid.

Offline GalaxyNinja

  • Global Moderator
  • Elite
  • *****
  • Posts: 1713
  • Internets: +95/-0
  • My password is **********
Re: Valentines script
« Reply #1 on: February 10, 2017, 07:31:09 PM »
Alternatively, you could hack their computer and make ascii hearts pop up everywhere...  ;)

ch3rn wasn't kidding about changing the messages in the script. Otherwise one might find themselves dateless on Valentine's Day.

Offline Amonsec

  • Top Hat Member
  • Prospect
  • ********
  • Posts: 47
  • Internets: +36/-0
  • 1336 working to become 1337
Re: Valentines script
« Reply #2 on: February 12, 2017, 05:26:20 AM »
Do you want to be my Valentin Ch3rn0byl?

Good script btw! ;)
"A computer is only as good as it's user" - R4V3N
OSCP (2017)