April 24, 2017, 05:50:48 PM
Welcome, Guest. Please login or register.

Support THS!! Buy a t-shirt at the top-hat-sec store! http://www.top-hat-sec.com/store/p23/T-Shirts.html

Author Topic: Valentines script  (Read 723 times)

Offline ch3rn0byl

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

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

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):
        to = '',        # Your SO
        from_= '',      # You twilio number
        body = message)

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

Offline GalaxyNinja

  • Global Moderator
  • Elite
  • *****
  • Posts: 1709
  • Internets: +94/-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: 43
  • Internets: +35/-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