October 17, 2017, 06:58:42 PM
Welcome, Guest. Please login or register.

The user's going to pick dancing pigs over security every time. -- Bruce Schneier

Author Topic: Valentines script  (Read 983 times)

Offline ch3rn0byl

  • Top Hat Member
  • Experienced
  • ********
  • Posts: 187
  • 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: 1728
  • Internets: +96/-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.
A computer is only as strong as its user! -R4v3n

Offline Amonsec

  • Top Hat Member
  • Prospect
  • ********
  • Posts: 49
  • 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)

Offline Edi0t

  • Top Hat Member
  • Experienced
  • ********
  • Posts: 123
  • Internets: +12/-1
Re: Valentines script
« Reply #3 on: October 06, 2017, 11:31:48 PM »
Chern, you should add "You look fat when you cry". It's really romantic. =)
#!bin/bash
if [ "Edi0t" = "h4xx0r1n6 73h 61b50n" ]; then
               echo '4ll y0ur b453 4r3 b3l0n6 70 u5'
            else
               echo "d41vd h4553lh0f h4ck5 m0r3 7h3 b3773r 7h4n 3d107"
            fi