Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Net;
- using System.Text;
- using System.Threading.Tasks;
- namespace Arten
- {
- internal class Omegle
- {
- public Omegle()
- {
- for (int j = 1; j <= 10; j++)
- {
- string[] array = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9" };
- Random rnd = new Random();
- string zufall16 = "";
- string webseiteURL = "http://logs.omegle.com/";
- for (int i = 1; i <= 16; i++)
- {
- zufall16 += array[rnd.Next(0, 36)];
- }
- //System.Diagnostics.Process.Start("http://fs5.directupload.net/images/170330/ucx4vecs.png" + zufall16);
- webseiteURL += zufall16;
- HttpWebRequest HttpReq = (HttpWebRequest)WebRequest.Create(webseiteURL);
- HttpWebResponse response;
- try
- {
- response = (HttpWebResponse)HttpReq.GetResponse();
- // Console.WriteLine(response.StatusCode);
- // Console.WriteLine(response.StatusDescription);
- }
- catch (WebException ex)
- {
- response = (HttpWebResponse)ex.Response;
- // Console.WriteLine(response.StatusCode);
- // Console.WriteLine(response.StatusDescription);
- }
- if (response.StatusCode == HttpStatusCode.NotFound)
- Console.WriteLine(j +"Seite nicht gefunden.");
- if (response.StatusCode == HttpStatusCode.OK)
- {
- Console.WriteLine(j + "Seite gefunden.");
- Console.Write(webseiteURL);
- }
- }
- }
- }
- internal class Bilder_Upload
- {
- public Bilder_Upload()
- {
- for (int j = 1; j <= 100; j++)
- {
- string[] array = {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z",};
- Random rnd = new Random();
- string vorneTeil = "";
- string webseiteURL = "http://fs5.directupload.net/images/170330/";
- for (int i = 1; i <= 8; i++)
- {
- vorneTeil += array[rnd.Next(0, 36)];
- }
- //System.Diagnostics.Process.Start("http://www.bilder-upload.eu/show.php?file=f26d9a-1490864447.jpg" + zufall16);
- webseiteURL += vorneTeil + ".jpg";
- HttpWebRequest HttpReq = (HttpWebRequest)WebRequest.Create(webseiteURL);
- HttpWebResponse response;
- try
- {
- response = (HttpWebResponse)HttpReq.GetResponse();
- // Console.WriteLine(response.StatusCode);
- // Console.WriteLine(response.StatusDescription);
- }
- catch (WebException ex)
- {
- response = (HttpWebResponse)ex.Response;
- // Console.WriteLine(response.StatusCode);
- // Console.WriteLine(response.StatusDescription);
- }
- if (response.StatusCode == HttpStatusCode.NotFound)
- Console.WriteLine(j + "Nichts gefunden");
- if (response.StatusCode == HttpStatusCode.OK)
- {
- Console.WriteLine(j + "Seite gefunden.");
- Console.Write(webseiteURL);
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement