mirror of
https://github.com/narkoz/hacker-scripts
synced 2025-08-22 10:27:11 +00:00
Added Hangover.cs and implementation
Added SmackMyBitch.cs and implementation
This commit is contained in:
parent
f8478c42a4
commit
0347b0ca02
34
CSharp/Hangover.cs
Normal file
34
CSharp/Hangover.cs
Normal file
@ -0,0 +1,34 @@
|
||||
namespace Hacker_Scripts
|
||||
{
|
||||
using System;
|
||||
using Twilio;
|
||||
using System.Linq;
|
||||
|
||||
class Hangover
|
||||
{
|
||||
public static string TWILIO_ACCOUNT_SID = Environment.GetEnvironmentVariable("TWILIO_ACCOUNT_SID");
|
||||
public static string AUTH_TOKEN = Environment.GetEnvironmentVariable("TWILIO_AUTH_TOKEN");
|
||||
|
||||
public static string YOUR_NUMBER = "9879789978";
|
||||
public static string BOSS_NUMBER = "3213213233";
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var twilio = new TwilioRestClient(TWILIO_ACCOUNT_SID, AUTH_TOKEN);
|
||||
|
||||
string[] randomMessages = {
|
||||
"Locked out",
|
||||
"Pipes broke",
|
||||
"Food poisoning",
|
||||
"Not feeling well"
|
||||
};
|
||||
|
||||
int randomIndex = new Random().Next(randomMessages.Count());
|
||||
String messageToSend = (randomMessages[randomIndex]);
|
||||
|
||||
var message = twilio.SendMessage(YOUR_NUMBER, BOSS_NUMBER, messageToSend);
|
||||
Console.WriteLine(message.Sid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
35
CSharp/SmackMyBitch.cs
Normal file
35
CSharp/SmackMyBitch.cs
Normal file
@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Twilio;
|
||||
|
||||
namespace Hacker_Scripts
|
||||
{
|
||||
class SmackMyBitch
|
||||
{
|
||||
public static string TWILIO_ACCOUNT_SID = Environment.GetEnvironmentVariable("TWILIO_ACCOUNT_SID");
|
||||
public static string AUTH_TOKEN = Environment.GetEnvironmentVariable("TWILIO_AUTH_TOKEN");
|
||||
|
||||
public static string YOUR_NUMBER = "9879789978";
|
||||
public static string HER_NUMBER = "3213213233";
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var twilio = new TwilioRestClient(TWILIO_ACCOUNT_SID, AUTH_TOKEN);
|
||||
|
||||
string[] randomMessages = {
|
||||
"Working hard",
|
||||
"Gotta ship this feature",
|
||||
"Someone fucked the system again"
|
||||
};
|
||||
|
||||
int randomIndex = new Random().Next(randomMessages.Count());
|
||||
String messageToSend = (randomMessages[randomIndex]);
|
||||
|
||||
var message = twilio.SendMessage(YOUR_NUMBER, HER_NUMBER, messageToSend);
|
||||
Console.WriteLine(message.Sid);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user