Skip to content

Instantly share code, notes, and snippets.

@igauravsehrawat
Forked from NickCraver/BotLovin.cs
Created May 5, 2017 10:14
Show Gist options
  • Save igauravsehrawat/002141c502057cff16f143fdaf617748 to your computer and use it in GitHub Desktop.
Save igauravsehrawat/002141c502057cff16f143fdaf617748 to your computer and use it in GitHub Desktop.
Some bot/crawler fun on Stack Overflow. 10 hours of fun, to be precise.
private static readonly string[] tenHoursOfFun =
{
"https://www.youtube.com/watch?v=wbby9coDRCk",
"https://www.youtube.com/watch?v=nb2evY0kmpQ",
"https://www.youtube.com/watch?v=eh7lp9umG2I",
"https://www.youtube.com/watch?v=z9Uz1icjwrM",
"https://www.youtube.com/watch?v=Sagg08DrO5U",
"https://www.youtube.com/watch?v=ER97mPHhgtM",
"https://www.youtube.com/watch?v=jI-kpVh6e1U",
"https://www.youtube.com/watch?v=jScuYd3_xdQ",
"https://www.youtube.com/watch?v=S5PvBzDlZGs",
"https://www.youtube.com/watch?v=9UZbGgXvCCA",
"https://www.youtube.com/watch?v=O-dNDXUt1fg",
"https://www.youtube.com/watch?v=MJ5JEhDy8nE",
"https://www.youtube.com/watch?v=VnnWp_akOrE",
"https://www.youtube.com/watch?v=jwGfwbsF4c4",
"https://www.youtube.com/watch?v=8ZcmTl_1ER8",
"https://www.youtube.com/watch?v=gLmcGkvJ-e0",
"https://www.youtube.com/watch?v=ozPPwl53c_4",
"https://www.youtube.com/watch?v=KMFOVSWn0mI",
"https://www.youtube.com/watch?v=clU0Sh9ngmY",
"https://www.youtube.com/watch?v=sCNrK-n68CM"
};
[StackRoute("admin.php")]
[StackRoute("admin/login.php")]
[StackRoute("administrator/index.php")]
[StackRoute("ajaxproxy/proxy.php")]
[StackRoute("bitrix/admin/index.php")]
[StackRoute("index.php")]
[StackRoute("magmi/web/magmi.php")]
[StackRoute("wp-admin/admin-ajax.php")]
[StackRoute("wp-admin/includes/themes.php")]
[StackRoute("wp-admin/options-link.php")]
[StackRoute("wp-admin/post-new.php")]
[StackRoute("wp-login.php")]
[StackRoute("xmlrpc.php")]
public ActionResult No() => Redirect(tenHoursOfFun[Current.Random.Next(0, tenHoursOfFun.Length)]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment