Advertisement
Guest User

Untitled

a guest
Oct 24th, 2018
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 40.61 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Diagnostics;
  4. using System.IO;
  5. using System.Linq;
  6. using System.Net;
  7. using System.Security.Cryptography.X509Certificates;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. using System.Xml.Linq;
  11.  
  12. namespace MeetMe_Console
  13. {
  14.     class Program
  15.     {
  16.         static void Main(string[] args)
  17.         {
  18.             //Random rand = new Random();
  19.             //string target = "https://ssl.meetme.com/mobile/registration";
  20.             //string potch = "ammyfree" + rand.Next(10000, 999999999);
  21.             //string pass = "qwerty123";
  22.             //string data1 = "firstName=Ammy&lastName=Free&emailId=" + potch + "%40gmail.com&password="+pass+"&dob=1995-10-12&gender=female&country=1&region=0&zipcode=10005&conversionCode=&conversionTrackingId=adjust%3A6a7732cc3ba7300ccfb701826ff8dc9f&fbAccessToken=&formType=legacy&systemInfo=&lat=&long=&termsOfServiceVersion=&sessionId=8tt82e6yjahg7t4jyjz07cqxektmzc7g&sessionState=1&rememberMe=&skipResponseKeys=";
  23.             //byte[] byteData1 = Encoding.UTF8.GetBytes(data1);
  24.             //HttpWebRequest request = (HttpWebRequest)WebRequest.Create(target);
  25.             //request.Method = "POST";
  26.             //request.UserAgent = "okhttp/3.8.1";
  27.             //request.ContentType = "application/x-www-form-urlencoded";
  28.             //request.Accept = "application/json";
  29.             //request.Host = "ssl.meetme.com";
  30.             //request.KeepAlive = true;
  31.             //request.Headers.Add("Accept-Language", "ru-RU");
  32.             //request.Headers.Add("X-SupportedFeatures", "messageStickers,StackedNotifications:v6,tags,twoStepRegistration,chatSuggestions,purchaseRevamp,registrationSingleNameLabelsInFields,strictHttps,realtimeAtLogin,meetQueueSayHi,registrationTestValidation,MediaLinkMessages:v1,liveVideo,SurfaceChat:v1,chatGiftMessage,QuickChat:v2");
  33.             //request.Headers.Add("X-Stats", @"{ ""methods"":[{""key"":""registration"",""callback"":0.081,""parse"":0.0,""roundTrip"":0.634},{""key"":""tmProfiling"",""callback"":0.0,""parse"":0.0,""roundTrip"":0.803}],""memUsed"":7800352,""memTotal"":201326592}'");
  34.             //request.Headers.Add("X-Device", "android,f6f94091-64c3-4a93-80ff-f7a0810f3b65,1541:1541");
  35.             //request.Headers.Add("X-AuthToken", "d51d8cd98f00b204e9811998ecf8427e,66388df58eb0fa53f114a82248f77609,");
  36.             //request.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => true;
  37.             //ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
  38.             //using (Stream dataStream = request.GetRequestStream())
  39.             //{
  40.             //    dataStream.Write(byteData1, 0, byteData1.Length);
  41.             //}
  42.             //// WebResponse response = request.GetResponse();
  43.             ////Console.WriteLine(((HttpWebResponse)response).StatusDescription);
  44.             ////var response = new StreamReader(request.GetResponse().GetResponseStream()).ReadToEnd();
  45.             //// Console.WriteLine(response);
  46.             //HttpWebResponse httpWebResponse = (HttpWebResponse)request.GetResponse();
  47.             //Console.WriteLine(((HttpWebResponse)httpWebResponse).StatusDescription); //дескрипция статуса ответа сервера
  48.             //string result = new StreamReader(httpWebResponse.GetResponseStream()).ReadToEnd();
  49.             //File.WriteAllText("1.html", result);
  50.             //Process.Start("1.html");
  51.             //StreamWriter acc = new StreamWriter("acc.txt");
  52.             //acc.WriteLine(potch + ":" + pass);
  53.             //acc.Close();
  54.             //httpWebResponse.Close();
  55.             //Console.ReadKey();
  56.             ///// рега//////
  57.             //string[] input = File.ReadAllLines("Cookies.txt");
  58.             ///Логин
  59.             string xdevice = "android,f6f94091-64c3-4a93-80ff-f7a0810f3b65,1541:1541";
  60.             string auth = "e8a0e02bd28c90de96c9d3f07f96d8be,e4170097314f1c1201a2ed63e4f18e11,218175815";
  61.             string target = "https://ssl.meetme.com/mobile/login";
  62.             string data1 = "emailId=ammyminds19%40gmail.com&password=Devilus1&fbAccessToken=&lat=-96.2133333&long=35.9436111&systemInfo=&sessionId=&sessionState=&rememberMe=&skipResponseKeys=";
  63.             byte[] byteData1 = Encoding.UTF8.GetBytes(data1);
  64.             HttpWebRequest request = (HttpWebRequest)WebRequest.Create(target);
  65.             request.Method = "POST";
  66.             request.UserAgent = "okhttp/3.8.1";
  67.             request.ContentType = "application/x-www-form-urlencoded";
  68.             request.Accept = "application/json";
  69.             request.Host = "ssl.meetme.com";
  70.             request.KeepAlive = true;
  71.             request.Headers.Add("Accept-Language", "ru-RU");
  72.             request.Headers.Add("X-SupportedFeatures", "messageStickers,StackedNotifications:v6,tags,twoStepRegistration,chatSuggestions,purchaseRevamp,registrationSingleNameLabelsInFields,strictHttps,realtimeAtLogin,meetQueueSayHi,registrationTestValidation,MediaLinkMessages:v1,liveVideo,SurfaceChat:v1,chatGiftMessage,QuickChat:v2");
  73.             request.Headers.Add("X-Stats", @"{ ""events"":{ ""screens"":{ ""LoginActivity"":{ ""viewed"":1} } },""methods"":[{""key"":""states"", ""callback"":0.0,""parse"":0.001,""roundTrip"":0.18},{""key"":""states"", ""callback"":0.0,""parse"":0.002,""roundTrip"":0.134}],""memUsed"":9802472,""memTotal"":201326592}'");
  74.             request.Headers.Add("X-Device", xdevice);
  75.             request.Headers.Add("X-AuthToken", auth);
  76.             request.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => true;
  77.             ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
  78.             using (Stream dataStream = request.GetRequestStream())
  79.             {
  80.                 dataStream.Write(byteData1, 0, byteData1.Length);
  81.             }
  82.             //X - AuthToken: a166a4326dc3dc5412c8f20c62ed2ae4,77bbd56a9b0f7f1fab4dd69ab882c4e0,
  83.             //X - Device: android,ffe4d38f - 5253 - 4cde - 8bcd - 60ab2fa73821,955:955
  84.  
  85.             //Accept-Encoding: gzip, deflate
  86.            
  87.             HttpWebResponse httpWebResponse = (HttpWebResponse)request.GetResponse();
  88.             Console.WriteLine(((HttpWebResponse)httpWebResponse).StatusDescription); //дескрипция статуса ответа сервера
  89.             //string result = new StreamReader(httpWebResponse.GetResponseStream()).ReadToEnd();
  90.             //File.WriteAllText("1.html", result);
  91.             //Process.Start("1.html");
  92.             var response = (HttpWebResponse)request.GetResponse();
  93.             string input = response.Headers.ToString();
  94.             response.Close();
  95.             string from = "Set-Cookie: ";
  96.             string to = ";";
  97.             string cookies1= input.Substring((input.IndexOf(from) + from.Length), (input.IndexOf(to) - input.IndexOf(from) - from.Length+1));
  98.  
  99.  
  100.             to = "expires";
  101.             string input2 = input.Substring((input.IndexOf(from) + from.Length), (input.IndexOf(to) - input.IndexOf(from) - from.Length-2));
  102.  
  103.             from = ",";
  104.             to = ";";
  105.             string cookies2 = input2.Substring((input2.IndexOf(from) + from.Length))/*, (input2.IndexOf(to) - input2.IndexOf(from) - from.Length))*/;
  106.             Console.WriteLine(cookies1+" + "+cookies2);
  107.  
  108.  
  109.  
  110.  
  111.  
  112.             string xstats = "{ \"events\":{ \"screens\":{ \"SolicitPhotosActivity\":{ \"viewed\":1},\"PhotoPickerActivity\":{ \"viewed\":1} } },\"methods\":[{\"key\":\"friendSuggestions\",\"callback\":0.001,\"parse\":0.003,\"roundTrip\":0.183}],\"memUsed\":11431608,\"memTotal\":201326592}";
  113.  
  114.             string boundary = "---------------------------" + DateTime.Now.Ticks.ToString("x");
  115.             byte[] boundarybytes = System.Text.Encoding.ASCII.GetBytes("\r\n--" + boundary + "\r\n");
  116.             byte[] byteData12 = File.ReadAllBytes(@"C:/1.jpg");
  117.             target = "http://profile.meetme.com/mobile/photos";
  118.             request = (HttpWebRequest)WebRequest.Create(target);
  119.             request.Method = "POST";
  120.             request.UserAgent = "okhttp/3.8.1";
  121.             request.ContentType = "multipart/form-data; boundary="+boundary;
  122.             request.Accept = "application/json";
  123.             request.Host = "profile.meetme.com";
  124.             request.KeepAlive = true;
  125.             request.Headers.Add("Accept-Language", "ru-RU");
  126.             request.Headers.Add("X-Stats", xstats);
  127.             request.Headers.Add("X-Device", xdevice);
  128.             request.Headers.Add("X-AuthToken", auth);
  129.            // request.Headers.Add("Cookie", cookies1+" "+cookies2);
  130.             request.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => true;
  131.             ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
  132.             System.Text.StringBuilder header = new StringBuilder();
  133.             header.AppendLine(boundary);
  134.             header.AppendLine("Content-Disposition:form-data; name=\"mobilePhoto\";filename=\"myb-takephoto.tmp.jpeg\"");
  135.             header.AppendLine("Content-Type: image/jpeg");
  136.             header.AppendLine("Content-Length: "+byteData12.Length);
  137.            
  138.             //header.AppendLine();
  139.  
  140.             header.AppendLine(boundary);
  141.             header.AppendLine(@"Content-Disposition: form-data; name=""caption:""");
  142.             header.AppendLine("Content-Length: 0");
  143.  
  144.  
  145.             header.AppendLine(boundary);
  146.             header.AppendLine(@"Content-Disposition: form-data; name=""suppressFeedItem""");
  147.             header.AppendLine("Content-Length: 1");
  148.  
  149.             header.AppendLine(boundary);
  150.             header.AppendLine(@"Content-Disposition: form-data; name=""setAsDefault""");
  151.             header.AppendLine("Content-Length: 1");
  152.  
  153.             header.AppendLine(boundary);
  154.             header.AppendLine(@"Content-Disposition: form-data; name=""lat""");
  155.             header.AppendLine("Content-Length: 3");
  156.  
  157.             header.AppendLine(boundary);
  158.             header.AppendLine(@"Content-Disposition: form-data; name=""long""");
  159.             header.AppendLine("Content-Length: 3");
  160.  
  161.             header.AppendLine(boundary);
  162.             header.AppendLine(@"Content-Disposition: form-data; name=""sourceEvent""");
  163.             header.AppendLine("Content-Length: 15");
  164.  
  165.             header.AppendLine(boundary);
  166.             header.AppendLine(@"Content-Disposition: form-data; name=""sourceEvent""");
  167.             header.AppendLine("Content-Length: 15");
  168.  
  169.             header.AppendLine(boundary);
  170.             header.AppendLine(@"Content-Disposition: form-data; name=""topicId""");
  171.             header.AppendLine("Content-Length: 0");
  172.  
  173.             using (Stream dataStream = request.GetRequestStream())
  174.             {
  175.                 dataStream.Write(byteData12, 0, byteData12.Length);
  176.             }
  177.             httpWebResponse = (HttpWebResponse)request.GetResponse();
  178.             Console.WriteLine(((HttpWebResponse)httpWebResponse).StatusDescription); //дескрипция статуса ответа сервера
  179.             string result = new StreamReader(httpWebResponse.GetResponseStream()).ReadToEnd();
  180.  
  181.  
  182.             Console.ReadKey();
  183.  
  184.             string fileToUpload = @"C:/1.jpg";
  185.             string url = target;
  186.             using (var client = new WebClient())
  187.             {
  188.                 ServicePointManager.ServerCertificateValidationCallback += new System.Net.Security.RemoteCertificateValidationCallback(bypassAllCertificateStuff);
  189.  
  190.                 client.Headers[HttpRequestHeader.UserAgent] = "okhttp/3.8.1";
  191.                 client.Headers[HttpRequestHeader.Host] = "profile.meetme.com";
  192.                 client.Headers[HttpRequestHeader.Accept] = "application/json";
  193.                 client.Headers[HttpRequestHeader.KeepAlive] = "true";
  194.                 client.Headers[HttpRequestHeader.AcceptLanguage] = "ru-RU";
  195.                 client.Headers.Add("X-Device", xdevice);
  196.                 client.Headers.Add("X-Stats", xstats);
  197.                 client.Headers.Add("X-AuthToken", auth);
  198.                 byte[] resulte = client.UploadFile(url, fileToUpload);
  199.                 string responseAsString = Encoding.Default.GetString(resulte);
  200.                 client.UploadData(url, resulte);
  201.             }
  202.             StringBuilder sendData = new StringBuilder();
  203.             using (FileStream img = new FileStream("C:/1.jpg", FileMode.Open))
  204.             {
  205.                 sendData.Append("userfile=" + img.ToString());
  206.             }
  207.  
  208.             //byte[] byteData = File.ReadAllBytes("C:/1.jpg");
  209.             //request.ContentLength = byteData.Length;
  210.             //using (Stream sendStream = request.GetRequestStream())
  211.             //{
  212.             //    sendStream.Write(byteData, 0, byteData.Length);
  213.             //}
  214.             //StringBuilder sendData = new StringBuilder();
  215.             //using (FileStream img = new FileStream("C:/1.jpg", FileMode.Open))
  216.             //{
  217.             //    sendData.Append("userfile=" + img.ToString());
  218.             //}
  219.  
  220.             //byte[] byteData = File.ReadAllBytes("C:/1.jpg");
  221.             //request.ContentLength = byteData.Length;
  222.             //using (Stream sendStream = request.GetRequestStream())
  223.             //{
  224.             //    sendStream.Write(byteData, 0, byteData.Length);
  225.             //}
  226.  
  227.             //using (WebResponse resulte = request.GetResponse())
  228.             //{
  229.             //    StreamReader reader = new StreamReader(resulte.GetResponseStream());
  230.             //    XDocument res = XDocument.Parse(reader.ReadToEnd());
  231.             //    res.Save("res.xml");
  232.             //    Process.Start("res.xml");
  233.             //    Console.WriteLine(reader.ReadToEnd());
  234.             //}
  235.             Console.WriteLine("1");
  236.             Console.ReadKey();
  237.             //header.AppendLine("asdfghyujio;luikyjthrgfrtyuiopo/.uik,mtyhbrgtffrghnymjuik,ol.");  //Имитация полученных из файла данных      
  238.  
  239.             //header.AppendLine();
  240.             //header.AppendLine(boundary);
  241.             //byte[] message = Encoding.UTF8.GetBytes(header.ToString());
  242.             //using (Stream requestStream = request.GetRequestStream())
  243.             //{
  244.             //    requestStream.Write(message, 0, message.Length);
  245.             //    requestStream.Close();
  246.             //}
  247.  
  248.             //HttpWebResponse response = (HttpWebResponse)request.GetResponse();
  249.             //using (StreamReader sr = new StreamReader(response.GetResponseStream()))
  250.             //{
  251.             //    string responseString = sr.ReadToEnd();
  252.             //    Console.WriteLine(responseString);
  253.             //}
  254.  
  255.             //            Stream rs = request.GetRequestStream();
  256.             //              string formdataTemplate = "Content-Disposition: form-data; name=\"{0}\"\r\n\r\n{1}";
  257.             //            foreach (string key in nvc.Keys)
  258.             //            {
  259.             //                rs.Write(boundarybytes, 0, boundarybytes.Length);
  260.             //                string formitem = string.Format(formdataTemplate, key, nvc[key]);
  261.             //                byte[] formitembytes = System.Text.Encoding.UTF8.GetBytes(formitem);
  262.             //                rs.Write(formitembytes, 0, formitembytes.Length);
  263.             //            }
  264.             //            rs.Write(boundarybytes, 0, boundarybytes.Length);
  265.  
  266.             //            string headerTemplate = "Content-Disposition: form-data; name=\"{0}\"; filename=\"{1}\"\r\nContent-Type: {2}\r\n\r\n";
  267.             //            string header = string.Format(headerTemplate, paramName, file, contentType);
  268.             //            byte[] headerbytes = System.Text.Encoding.UTF8.GetBytes(header);
  269.             //            rs.Write(headerbytes, 0, headerbytes.Length);
  270.  
  271.             //            FileStream fileStream = new FileStream(file, FileMode.Open, FileAccess.Read);
  272.             //            byte[] buffer = new byte[4096];
  273.             //            int bytesRead = 0;
  274.             //            while ((bytesRead = fileStream.Read(buffer, 0, buffer.Length)) != 0)
  275.             //            {
  276.             //                rs.Write(buffer, 0, bytesRead);
  277.             //            }
  278.             //            fileStream.Close();
  279.  
  280.             //            byte[] trailer = System.Text.Encoding.ASCII.GetBytes("\r\n--" + boundary + "--\r\n");
  281.             //            rs.Write(trailer, 0, trailer.Length);
  282.             //            rs.Close();
  283.  
  284.             //            WebResponse wresp = null;
  285.             //            try
  286.             //            {
  287.             //                wresp = wr.GetResponse();
  288.             //                Stream stream2 = wresp.GetResponseStream();
  289.             //                StreamReader reader2 = new StreamReader(stream2);
  290.             //                Console.WriteLine(string.Format("File uploaded, server response is: {0}", reader2.ReadToEnd()));
  291.             //        }
  292.  
  293.  
  294.  
  295.  
  296.  
  297.         }
  298.         private static bool bypassAllCertificateStuff(object sender, X509Certificate cert, X509Chain chain, System.Net.Security.SslPolicyErrors error)
  299.         {
  300.             return true;
  301.         }
  302.     }
  303.  
  304.  
  305.     public class Rootobject_error
  306.     {
  307.         public string error { get; set; }
  308.         public string errorType { get; set; }
  309.         public int errorCode { get; set; }
  310.         public bool result { get; set; }
  311.         public string publicKey { get; set; }
  312.     }
  313.  
  314.     public class Rootobject
  315.     {
  316.         public string privateKey { get; set; }
  317.         public string publicKey { get; set; }
  318.         public int memberId { get; set; }
  319.         public string requestToken { get; set; }
  320.         public bool result { get; set; }
  321.         public bool showFeedPostPrivacyNotice { get; set; }
  322.         public bool showPhotoUploadGuidelinesNotice { get; set; }
  323.         public string startLocation { get; set; }
  324.         public string[] betaApps { get; set; }
  325.         public Targeting targeting { get; set; }
  326.         public Member member { get; set; }
  327.         public Features features { get; set; }
  328.     }
  329.  
  330.     public class Targeting
  331.     {
  332.         public int age { get; set; }
  333.         public string gender { get; set; }
  334.         public string zipCode { get; set; }
  335.         public int accountAge { get; set; }
  336.         public string[] hyperTargeting { get; set; }
  337.     }
  338.  
  339.     public class Member
  340.     {
  341.         public int age { get; set; }
  342.         public string first_name { get; set; }
  343.         public string gender { get; set; }
  344.         public string interested_in { get; set; }
  345.         public string last_name { get; set; }
  346.         public int member_id { get; set; }
  347.         public int join_date { get; set; }
  348.         public Location location { get; set; }
  349.         public string zip_code { get; set; }
  350.         public string is_email_active { get; set; }
  351.         public string locale { get; set; }
  352.         public Popularityinfo popularityInfo { get; set; }
  353.         public Privacy privacy { get; set; }
  354.         public object[] tags { get; set; }
  355.     }
  356.  
  357.     public class Location
  358.     {
  359.         public string city { get; set; }
  360.         public string state_abbr { get; set; }
  361.         public string state { get; set; }
  362.         public int country_id { get; set; }
  363.         public string country_abbr { get; set; }
  364.         public string country { get; set; }
  365.     }
  366.  
  367.     public class Popularityinfo
  368.     {
  369.         public int rank { get; set; }
  370.         public float percentile { get; set; }
  371.         public string level { get; set; }
  372.     }
  373.  
  374.     public class Privacy
  375.     {
  376.         public string accepts_gifts { get; set; }
  377.         public string accepts_messages { get; set; }
  378.         public string accepts_photo_message { get; set; }
  379.         public string accepts_questions { get; set; }
  380.         public string can_view { get; set; }
  381.     }
  382.  
  383.     public class Features
  384.     {
  385.         public Askme askMe { get; set; }
  386.         public Boost boost { get; set; }
  387.         public Chat chat { get; set; }
  388.         public Realtime realtime { get; set; }
  389.         public Suggestedchatpartners suggestedChatPartners { get; set; }
  390.         public Creepfake creepFake { get; set; }
  391.         public Crossnetworks crossNetworks { get; set; }
  392.         public Deviceconfig deviceConfig { get; set; }
  393.         public Economy economy { get; set; }
  394.         public Ephemeralphotos ephemeralPhotos { get; set; }
  395.         public Feed feed { get; set; }
  396.         public Firstclasschat firstClassChat { get; set; }
  397.         public Friendsuggestions friendSuggestions { get; set; }
  398.         public Icebreakers icebreakers { get; set; }
  399.         public Incentivizedvideo incentivizedVideo { get; set; }
  400.         public Interstitials interstitials { get; set; }
  401.         public Meet meet { get; set; }
  402.         public Meetqueue meetQueue { get; set; }
  403.         public Membersettings memberSettings { get; set; }
  404.         public Miniprofileconfig miniProfileConfig { get; set; }
  405.         public Offers offers { get; set; }
  406.         public object[] phoenix { get; set; }
  407.         public Photos photos { get; set; }
  408.         public Photoviews photoViews { get; set; }
  409.         public Plusmember1 plusMember { get; set; }
  410.         public Profile profile { get; set; }
  411.         public Expandprofile expandProfile { get; set; }
  412.         public Crosspromotion crossPromotion { get; set; }
  413.         public Pushencouragement pushEncouragement { get; set; }
  414.         public Quickchat quickChat { get; set; }
  415.         public Smiles smiles { get; set; }
  416.         public Sms sms { get; set; }
  417.         public Socialtheater socialTheater { get; set; }
  418.         public Socialverifyfacebook socialVerifyFacebook { get; set; }
  419.         public Spotlightcosts spotlightCosts { get; set; }
  420.         public Startlocation startLocation { get; set; }
  421.         public Staticcontent staticContent { get; set; }
  422.         public Stealthbrowsing stealthBrowsing { get; set; }
  423.         public Stickersinchat stickersInChat { get; set; }
  424.         public Tags tags { get; set; }
  425.         public Termsofservice termsOfService { get; set; }
  426.         public Topstreamer topStreamer { get; set; }
  427.         public object[] trackingPartnerTags { get; set; }
  428.         public Username username { get; set; }
  429.         public NGP NGP { get; set; }
  430.         public Livevideo liveVideo { get; set; }
  431.         public Slash slash { get; set; }
  432.         public Navbar navBar { get; set; }
  433.         public string[] betaApps { get; set; }
  434.     }
  435.  
  436.     public class Askme
  437.     {
  438.         public string unmaskMessageKey { get; set; }
  439.         public int unmaskCost { get; set; }
  440.     }
  441.  
  442.     public class Boost
  443.     {
  444.         public bool displayBoostInMeet { get; set; }
  445.         public bool displayBoostInChat { get; set; }
  446.         public bool displayBoostInProfile { get; set; }
  447.         public int boostCost { get; set; }
  448.         public int boostDuration { get; set; }
  449.         public string freeConfirmMessageKey { get; set; }
  450.         public int group { get; set; }
  451.         public bool hasFreeBoost { get; set; }
  452.         public int timeLeftInBoost { get; set; }
  453.         public int totalTimeInBoost { get; set; }
  454.     }
  455.  
  456.     public class Chat
  457.     {
  458.         public string emptyScreenStyle { get; set; }
  459.     }
  460.  
  461.     public class Realtime
  462.     {
  463.         public string token { get; set; }
  464.         public Connections connections { get; set; }
  465.     }
  466.  
  467.     public class Connections
  468.     {
  469.         public Mqtt mqtt { get; set; }
  470.         public Socket socket { get; set; }
  471.     }
  472.  
  473.     public class Mqtt
  474.     {
  475.         public string host { get; set; }
  476.         public int port { get; set; }
  477.     }
  478.  
  479.     public class Socket
  480.     {
  481.         public string host { get; set; }
  482.         public int port { get; set; }
  483.         public int portsecure { get; set; }
  484.     }
  485.  
  486.     public class Suggestedchatpartners
  487.     {
  488.         public bool isEnabled { get; set; }
  489.         public bool isInMaintenance { get; set; }
  490.     }
  491.  
  492.     public class Creepfake
  493.     {
  494.         public bool showEnhancedReporting { get; set; }
  495.     }
  496.  
  497.     public class Crossnetworks
  498.     {
  499.         public Transformation transformation { get; set; }
  500.         public Chatgifts chatGifts { get; set; }
  501.     }
  502.  
  503.     public class Transformation
  504.     {
  505.         public int skout { get; set; }
  506.         public int meetme { get; set; }
  507.     }
  508.  
  509.     public class Chatgifts
  510.     {
  511.         public string[] enabledNetworks { get; set; }
  512.     }
  513.  
  514.     public class Deviceconfig
  515.     {
  516.         public Live live { get; set; }
  517.         public int multiPhotoSelectMax { get; set; }
  518.         public Plusmember plusMember { get; set; }
  519.         public Profiledatacollection profileDataCollection { get; set; }
  520.     }
  521.  
  522.     public class Live
  523.     {
  524.         public bool webRTCEnabled { get; set; }
  525.     }
  526.  
  527.     public class Plusmember
  528.     {
  529.         public Marketing marketing { get; set; }
  530.     }
  531.  
  532.     public class Marketing
  533.     {
  534.         public string[] cardOrder { get; set; }
  535.         public string[] additionalBenefits { get; set; }
  536.     }
  537.  
  538.     public class Profiledatacollection
  539.     {
  540.         public Logininterstitial loginInterstitial { get; set; }
  541.         public Registrationinterstitial registrationInterstitial { get; set; }
  542.         public Wanttomeetinterstitial wantToMeetInterstitial { get; set; }
  543.         public Profilereminder profileReminder { get; set; }
  544.         public Screensafterselection[] screensAfterSelection { get; set; }
  545.     }
  546.  
  547.     public class Logininterstitial
  548.     {
  549.         public int minimumAccountAge { get; set; }
  550.         public int chanceToDisplay { get; set; }
  551.         public bool canSkip { get; set; }
  552.     }
  553.  
  554.     public class Registrationinterstitial
  555.     {
  556.         public bool isEnabled { get; set; }
  557.         public bool alsoShowScreensAfterSelection { get; set; }
  558.         public bool canSkip { get; set; }
  559.     }
  560.  
  561.     public class Wanttomeetinterstitial
  562.     {
  563.         public bool isEnabled { get; set; }
  564.         public bool canSkip { get; set; }
  565.     }
  566.  
  567.     public class Profilereminder
  568.     {
  569.         public int secondsToHideAfterAcknowledgement { get; set; }
  570.     }
  571.  
  572.     public class Screensafterselection
  573.     {
  574.         public string selection { get; set; }
  575.         public string[] screens { get; set; }
  576.     }
  577.  
  578.     public class Economy
  579.     {
  580.         public bool enabled { get; set; }
  581.         public bool isInMaintenance { get; set; }
  582.         public bool cashoutEnabled { get; set; }
  583.         public bool giftsEnabled { get; set; }
  584.         public bool freeGiftsEnabled { get; set; }
  585.         public string cashoutComingSoonUrl { get; set; }
  586.         public Cashouttimelimit cashoutTimeLimit { get; set; }
  587.         public string giftAssetsBaseUrl { get; set; }
  588.     }
  589.  
  590.     public class Cashouttimelimit
  591.     {
  592.         public int minTimeBetweenRequests { get; set; }
  593.         public string[] categories { get; set; }
  594.     }
  595.  
  596.     public class Ephemeralphotos
  597.     {
  598.         public bool isEnabled { get; set; }
  599.         public string settingCanSendPhotosInChat { get; set; }
  600.     }
  601.  
  602.     public class Feed
  603.     {
  604.         public bool localTabEnabled { get; set; }
  605.         public bool algorithmicEnabled { get; set; }
  606.         public bool toggleEnabled { get; set; }
  607.         public bool topicsEnabled { get; set; }
  608.         public int totalLinesInComments { get; set; }
  609.         public int totalRecentComments { get; set; }
  610.         public int totalLinesInReplies { get; set; }
  611.         public int totalRecentReplies { get; set; }
  612.     }
  613.  
  614.     public class Firstclasschat
  615.     {
  616.         public bool isEnabled { get; set; }
  617.         public bool isInMaintenance { get; set; }
  618.         public int cost { get; set; }
  619.         public int refundTime { get; set; }
  620.         public int modalInterstitialDisplay { get; set; }
  621.         public string[] roadblocks { get; set; }
  622.     }
  623.  
  624.     public class Friendsuggestions
  625.     {
  626.         public bool limitReached { get; set; }
  627.         public int maxFriendCount { get; set; }
  628.         public bool isInMaintenance { get; set; }
  629.     }
  630.  
  631.     public class Icebreakers
  632.     {
  633.         public bool oneTapEnabled { get; set; }
  634.         public bool tagsEnabled { get; set; }
  635.         public int[] tagIds { get; set; }
  636.     }
  637.  
  638.     public class Incentivizedvideo
  639.     {
  640.         public bool isEnabled { get; set; }
  641.         public bool tapdaqEnabled { get; set; }
  642.         public bool offerwallEnabled { get; set; }
  643.         public bool displayVideoButtonInRecharge { get; set; }
  644.     }
  645.  
  646.     public class Interstitials
  647.     {
  648.         public string[] eligible { get; set; }
  649.     }
  650.  
  651.     public class Meet
  652.     {
  653.         public bool distanceDisplay { get; set; }
  654.         public int locationRetry { get; set; }
  655.     }
  656.  
  657.     public class Meetqueue
  658.     {
  659.         public bool canViewQueue { get; set; }
  660.         public string experimentGroup { get; set; }
  661.         public string displayMode { get; set; }
  662.     }
  663.  
  664.     public class Membersettings
  665.     {
  666.         public bool showLastSeenLocation { get; set; }
  667.         public string chatterPrivacy { get; set; }
  668.         public string messagePhotoPrivacy { get; set; }
  669.         public Push push { get; set; }
  670.         public Appbanneralerts appBannerAlerts { get; set; }
  671.         public Live1 live { get; set; }
  672.     }
  673.  
  674.     public class Push
  675.     {
  676.         public bool newMessage { get; set; }
  677.     }
  678.  
  679.     public class Appbanneralerts
  680.     {
  681.         public string showAppBannerAlertNewMessage { get; set; }
  682.     }
  683.  
  684.     public class Live1
  685.     {
  686.         public string liveAutoSmoothing { get; set; }
  687.         public string liveMinimize { get; set; }
  688.     }
  689.  
  690.     public class Miniprofileconfig
  691.     {
  692.         public bool photoUploadEnabled { get; set; }
  693.         public int minFavoritesToShow { get; set; }
  694.     }
  695.  
  696.     public class Offers
  697.     {
  698.         public bool isInMaintenance { get; set; }
  699.     }
  700.  
  701.     public class Photos
  702.     {
  703.         public bool uploadFirstPrompt { get; set; }
  704.         public string[] remoteNetworks { get; set; }
  705.         public Roadblocksettings roadblockSettings { get; set; }
  706.     }
  707.  
  708.     public class Roadblocksettings
  709.     {
  710.         public int minPhotosToUnlock { get; set; }
  711.         public int maxViewablePhotos { get; set; }
  712.         public string[] actions { get; set; }
  713.     }
  714.  
  715.     public class Photoviews
  716.     {
  717.         public int sneakPeekCost { get; set; }
  718.     }
  719.  
  720.     public class Plusmember1
  721.     {
  722.         public object[] upsell { get; set; }
  723.         public bool hideMarketing { get; set; }
  724.         public Stipend stipend { get; set; }
  725.         public Freetrial freeTrial { get; set; }
  726.     }
  727.  
  728.     public class Stipend
  729.     {
  730.         public int amount { get; set; }
  731.     }
  732.  
  733.     public class Freetrial
  734.     {
  735.         public bool eligible { get; set; }
  736.     }
  737.  
  738.     public class Profile
  739.     {
  740.         public int maxPhotosToShowInSlider { get; set; }
  741.         public Self self { get; set; }
  742.         public Remote remote { get; set; }
  743.         public Privateprofilenag privateProfileNag { get; set; }
  744.     }
  745.  
  746.     public class Self
  747.     {
  748.         public string[] tabOrder { get; set; }
  749.         public string tabLanding { get; set; }
  750.         public bool shouldShowPhotoSlider { get; set; }
  751.     }
  752.  
  753.     public class Remote
  754.     {
  755.         public string[] tabOrder { get; set; }
  756.         public string tabLanding { get; set; }
  757.         public bool shouldShowPhotoSlider { get; set; }
  758.     }
  759.  
  760.     public class Privateprofilenag
  761.     {
  762.         public bool enabled { get; set; }
  763.         public int activeSecs { get; set; }
  764.         public int inactiveSecs { get; set; }
  765.     }
  766.  
  767.     public class Expandprofile
  768.     {
  769.         public int minDetails { get; set; }
  770.     }
  771.  
  772.     public class Crosspromotion
  773.     {
  774.         public Skoutbanner skoutBanner { get; set; }
  775.     }
  776.  
  777.     public class Skoutbanner
  778.     {
  779.         public Lightprofile lightProfile { get; set; }
  780.     }
  781.  
  782.     public class Lightprofile
  783.     {
  784.         public int chanceToDisplay { get; set; }
  785.         public int persistResultTime { get; set; }
  786.         public int suppressResultTime { get; set; }
  787.         public string clickTarget { get; set; }
  788.     }
  789.  
  790.     public class Pushencouragement
  791.     {
  792.         public bool isEligible { get; set; }
  793.         public int interstitialHideForSeconds { get; set; }
  794.         public int messagesHideForSeconds { get; set; }
  795.         public bool nagForMessage { get; set; }
  796.         public bool nagForFriendRequest { get; set; }
  797.         public int nagFrequency { get; set; }
  798.         public int nagTimeSinceNUE { get; set; }
  799.         public int meetHideForSeconds { get; set; }
  800.         public int conversationHideForSeconds { get; set; }
  801.         public int friendRequestHideForSeconds { get; set; }
  802.         public bool nagForMeet { get; set; }
  803.         public bool nagForConversation { get; set; }
  804.         public bool showNagInterstitial { get; set; }
  805.     }
  806.  
  807.     public class Quickchat
  808.     {
  809.         public string videoQuality { get; set; }
  810.         public bool enabled { get; set; }
  811.     }
  812.  
  813.     public class Smiles
  814.     {
  815.         public bool smilesEnabled { get; set; }
  816.     }
  817.  
  818.     public class Sms
  819.     {
  820.         public bool isInMaintenance { get; set; }
  821.         public int invitations { get; set; }
  822.         public int reward { get; set; }
  823.         public int slideupHideForSeconds { get; set; }
  824.         public int bonusEligibleCredits { get; set; }
  825.         public int bonusInterstitialHideForSeconds { get; set; }
  826.     }
  827.  
  828.     public class Socialtheater
  829.     {
  830.         public string url { get; set; }
  831.         public string highValueUrl { get; set; }
  832.         public string highValueCampaignName { get; set; }
  833.         public bool showInMenu { get; set; }
  834.     }
  835.  
  836.     public class Socialverifyfacebook
  837.     {
  838.         public int friendsRequired { get; set; }
  839.     }
  840.  
  841.     public class Spotlightcosts
  842.     {
  843.         public int feedPost { get; set; }
  844.         public int matchQueue { get; set; }
  845.     }
  846.  
  847.     public class Startlocation
  848.     {
  849.         public string landing { get; set; }
  850.         public Userintentconfiguration userIntentConfiguration { get; set; }
  851.     }
  852.  
  853.     public class Userintentconfiguration
  854.     {
  855.         public Lookingfor[] lookingFor { get; set; }
  856.     }
  857.  
  858.     public class Lookingfor
  859.     {
  860.         public string contains { get; set; }
  861.         public string startLocation { get; set; }
  862.         public string doesNotContain { get; set; }
  863.     }
  864.  
  865.     public class Staticcontent
  866.     {
  867.         public string countries { get; set; }
  868.         public string icebreakersContent { get; set; }
  869.         public string icebreakersPopular { get; set; }
  870.         public string icebreakersPopularByGender { get; set; }
  871.         public string tagIcebreakers { get; set; }
  872.         public string configurableContent { get; set; }
  873.         public string configurableContentV2 { get; set; }
  874.         public string topics { get; set; }
  875.         public string topicsV2 { get; set; }
  876.         public string gifts { get; set; }
  877.         public string giftsv2 { get; set; }
  878.         public string cashout { get; set; }
  879.     }
  880.  
  881.     public class Stealthbrowsing
  882.     {
  883.         public Product[] products { get; set; }
  884.     }
  885.  
  886.     public class Product
  887.     {
  888.         public string productName { get; set; }
  889.         public int cost { get; set; }
  890.         public int numberOfDays { get; set; }
  891.     }
  892.  
  893.     public class Stickersinchat
  894.     {
  895.         public bool isInMaintenance { get; set; }
  896.         public bool isEnabled { get; set; }
  897.     }
  898.  
  899.     public class Tags
  900.     {
  901.         public bool shouldDisplaySelection { get; set; }
  902.         public bool shouldDisplayInProfileFeed { get; set; }
  903.         public bool shouldDisplaySharedInProfileChat { get; set; }
  904.         public bool shouldDisplaySharedInMeet { get; set; }
  905.         public string maximumSelectableTags { get; set; }
  906.         public int currentTagListVersion { get; set; }
  907.     }
  908.  
  909.     public class Termsofservice
  910.     {
  911.         public string memberAgreedToVersion { get; set; }
  912.     }
  913.  
  914.     public class Topstreamer
  915.     {
  916.         public bool isEnabled { get; set; }
  917.         public string infoUrl { get; set; }
  918.     }
  919.  
  920.     public class Username
  921.     {
  922.         public int marketing_banner_hide { get; set; }
  923.     }
  924.  
  925.     public class NGP
  926.     {
  927.         public string token { get; set; }
  928.     }
  929.  
  930.     public class Livevideo
  931.     {
  932.         public bool inStreamLeaderboard { get; set; }
  933.         public bool topFansInStream { get; set; }
  934.         public Videofeedsrefresh videoFeedsRefresh { get; set; }
  935.         public int duplicateMessageThreshold { get; set; }
  936.         public bool guestBroadcastEnabled { get; set; }
  937.         public bool liveVideoAdvancedFiltersEnabled { get; set; }
  938.         public string guestProfile { get; set; }
  939.         public string videoUIComponents { get; set; }
  940.         public bool disableLegacyFeedCards { get; set; }
  941.         public bool faceDetectionEnabled { get; set; }
  942.         public bool shareBroadcastEnabled { get; set; }
  943.         public bool airbrushEnabled { get; set; }
  944.         public bool airbrushIsOn { get; set; }
  945.         public bool enableBouncers { get; set; }
  946.         public bool faceStickersEnabled { get; set; }
  947.         public bool sendChatToFansEnabled { get; set; }
  948.         public Leaderboards leaderBoards { get; set; }
  949.         public bool liveVideoGenderFiltersEnabled { get; set; }
  950.         public bool liveVideoScreenRecordingEnabled { get; set; }
  951.         public Shoutouts shoutouts { get; set; }
  952.         public Favoritesblast favoritesBlast { get; set; }
  953.         public int maxGiftMessagesInChat { get; set; }
  954.         public bool enableMaxGiftMessagesInChat { get; set; }
  955.         public Battles battles { get; set; }
  956.         public bool liveFeedbackModuleEnabled { get; set; }
  957.         public string liveFeedbackModuleEmail { get; set; }
  958.         public bool liveFeedbackModuleOnlyForEnglish { get; set; }
  959.         public bool isStreamerProfileAllowed { get; set; }
  960.         public bool nearbyTabEnabled { get; set; }
  961.         public Favoriteprompt favoritePrompt { get; set; }
  962.         public bool enabled { get; set; }
  963.         public bool followCountEnabled { get; set; }
  964.         public Heartbeat heartbeat { get; set; }
  965.         public bool isInMaintenance { get; set; }
  966.         public string profile { get; set; }
  967.         public string shareUrl { get; set; }
  968.         public string shareUrlFormat { get; set; }
  969.         public bool showPromotionBarInChat { get; set; }
  970.         public Promotionbarinchat promotionBarInChat { get; set; }
  971.         public Experiments experiments { get; set; }
  972.     }
  973.  
  974.     public class Videofeedsrefresh
  975.     {
  976.         public bool enabled { get; set; }
  977.         public int interval { get; set; }
  978.     }
  979.  
  980.     public class Leaderboards
  981.     {
  982.         public bool enabled { get; set; }
  983.         public bool profileClick { get; set; }
  984.     }
  985.  
  986.     public class Shoutouts
  987.     {
  988.         public bool enabled { get; set; }
  989.     }
  990.  
  991.     public class Favoritesblast
  992.     {
  993.         public bool enabled { get; set; }
  994.     }
  995.  
  996.     public class Battles
  997.     {
  998.         public bool enabled { get; set; }
  999.     }
  1000.  
  1001.     public class Favoriteprompt
  1002.     {
  1003.         public Sendgift sendGift { get; set; }
  1004.         public Sendlikes sendLikes { get; set; }
  1005.         public Longwatch longWatch { get; set; }
  1006.         public Ratelimits rateLimits { get; set; }
  1007.     }
  1008.  
  1009.     public class Sendgift
  1010.     {
  1011.         public int chance { get; set; }
  1012.         public int duration { get; set; }
  1013.     }
  1014.  
  1015.     public class Sendlikes
  1016.     {
  1017.         public int chance { get; set; }
  1018.         public int trigger { get; set; }
  1019.         public int duration { get; set; }
  1020.     }
  1021.  
  1022.     public class Longwatch
  1023.     {
  1024.         public int chance { get; set; }
  1025.         public int trigger { get; set; }
  1026.         public int duration { get; set; }
  1027.     }
  1028.  
  1029.     public class Ratelimits
  1030.     {
  1031.         public int promptsPerDay { get; set; }
  1032.         public int promptsPerDayPerStreamer { get; set; }
  1033.     }
  1034.  
  1035.     public class Heartbeat
  1036.     {
  1037.         public bool enabled { get; set; }
  1038.         public int rate { get; set; }
  1039.         public int incrementSeconds { get; set; }
  1040.     }
  1041.  
  1042.     public class Promotionbarinchat
  1043.     {
  1044.         public int minSize { get; set; }
  1045.         public int size { get; set; }
  1046.     }
  1047.  
  1048.     public class Experiments
  1049.     {
  1050.         public Trending trending { get; set; }
  1051.     }
  1052.  
  1053.     public class Trending
  1054.     {
  1055.         public Talentconfig[] talentConfig { get; set; }
  1056.     }
  1057.  
  1058.     public class Talentconfig
  1059.     {
  1060.         public string type { get; set; }
  1061.         public int limit { get; set; }
  1062.         public bool scriptSort { get; set; }
  1063.     }
  1064.  
  1065.     public class Slash
  1066.     {
  1067.         public bool display { get; set; }
  1068.         public bool displayInChat { get; set; }
  1069.         public bool displayInFeed { get; set; }
  1070.         public bool displayInComment { get; set; }
  1071.     }
  1072.  
  1073.     public class Navbar
  1074.     {
  1075.         public string[] order { get; set; }
  1076.         public bool bottom { get; set; }
  1077.     }
  1078.  
  1079. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement