Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8302625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T17:20:08+00:00 2026-06-08T17:20:08+00:00

My problem is that I get 0 bytes response from server (I’m using Fiddler2

  • 0

My problem is that I get 0 bytes response from server (I’m using Fiddler2 to check this out).

Picture:
wtf

What I’m doing:

  1. Log in. I get cookies.
  2. Creating thread

public void CreateTopic(string subject, string message, string forumId)
    {
        HttpWebResponse response = null;
        string source = string.Empty;
        string lastClick= string.Empty;
        string creationTime= string.Empty;
        string formToken = string.Empty;

        // GET
        while(true)
        {
            webRequest =
                (HttpWebRequest) HttpWebRequest.Create(Url + "posting.php?mode=post&f=" + forumId + "&sid=" + sid);
            webRequest.KeepAlive = true;
            webRequest.Method = "GET";
            webRequest.ContentType = "application/x-www-form-urlencoded";
            webRequest.Host = Url.Replace("http://", "").Replace("/", "");
            webRequest.CookieContainer = cookieJar;

            ServicePointManager.Expect100Continue = false;

            try
            {
                response = (HttpWebResponse) webRequest.GetResponse();
                UpdateSid(Url + "posting.php?mode=post&f=" + forumId + "&sid=" + sid);
            }
            catch (Exception ex)
            {
                continue;
            }
            break;
        }

        StreamReader streamReader = new StreamReader(response.GetResponseStream());
        source = streamReader.ReadToEnd();
        streamReader.Close();

        response.Close();

        // Get stuff
        // last click
        Match lastClickMatch = Regex.Match(source, "name=\"lastclick\" value=\"([0-9]{10})\" />");
        if (lastClickMatch.Success) lastClick = lastClickMatch.Groups[1].Value;

        // creation time
        Match creationTimeMatch = Regex.Match(source, "name=\"creation_time\" value=\"([0-9]{10})\" />");
        if (creationTimeMatch.Success) creationTime = creationTimeMatch.Groups[1].Value;

        // form token
        Match formTokenMatch = Regex.Match(source, "name=\"form_token\" value=\"(.{40})\" />");
        if (formTokenMatch.Success) formToken = formTokenMatch.Groups[1].Value;

        // POST
        webRequest = (HttpWebRequest)WebRequest.Create(Url + "posting.php?mode=post&f=" + forumId + "&sid=" + sid);
        webRequest.Method = "POST";
        webRequest.ContentType = "application/x-www-form-urlencoded";
        webRequest.Host = Url.Replace("http://", "").Replace("/", "");
        webRequest.CookieContainer = cookieJar;
        string data = "icon=&subject=" + Encode(subject) + "&addbbcode20=100&message=" + Encode(message) + "&attach_sig=on&post=Submit&lastclick=" + lastClick + "&creation_time=" + creationTime + "&form_token=" + formToken;

        byte[] byte1 = Encoding.UTF8.GetBytes(data);
        webRequest.ContentLength = byte1.Length;

        ServicePointManager.Expect100Continue = false;

        Stream stream = webRequest.GetRequestStream();
        stream.Write(byte1, 0, byte1.Length);
        stream.Close();

        response = (HttpWebResponse)webRequest.GetResponse();

        UpdateSid(Url + "posting.php?mode=post&f=" + forumId + "&sid=" + sid);

        response.Close();
    }

I get this on fiddler:
RAW:

POST http://stuff.com/posting.php?mode=post&f=8&sid=6d278be1e705fe0261f253bbc96ab7a4
HTTP/1.1 Content-Type: application/x-www-form-urlencoded 
Host: stuff.com 
Cookie: phpbb3_goeyz_u=55443;phpbb3_goeyz_k=;phpbb3_goeyz_sid=6d278be1e705fe0261f253bbc96ab7a4 
Content-Length: 165

icon=&subject=g&addbbcode20=100&message=d&attach_sig=on&post=Submit&lastclick=1323904393&creation_time=1323904393&form_token=b81c23e308f0bd3a0a73907efcc8c18e5dba0f7f

Response RAW:

HTTP/1.1 302 Found 
Date: Wed, 14 Dec 2011 23:13:14 GMT 
Server: Apache/2.2.14 (Ubuntu) 
X-Powered-By: PHP/5.3.2-1ubuntu4.10 
Location: http://stuff.com/games.html 
Vary: Accept-Encoding
Content-Length: 0 
Connection: close 
Content-Type: text/html

I have no idea what is going on. If you will help me I will be grateful. I’m sorry for my English.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T17:20:10+00:00Added an answer on June 8, 2026 at 5:20 pm

    I found out why it didn’t create thread. It checks:

    if ($user->data['is_bot'])
    

    If you don’t want to be a bot, then you have to WAIT for like 8 seconds before sending POST:

    Thread.Sleep(8100);
    

    It resolved all problems for me.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My problem is that I am using the .hover method to get the x
I'm having a problem that a statusbar get displayed over the content of the
I have a problem that I'm hoping to get some direction in solving -
I have a small problem that I am hoping to get some help with.
I'm struggling with the problem that the .onWindowFocusChanged() doesn't get called in my custom
I'm stuck on an aggregation problem that I can't get to the bottom of.
I'm running into a problem that I can't seem to get past. Whenever I
Afternoon Developers, I have a problem that's beginning to get on my wick. I
I am generating assembly on runtime . Problem is that i cant get rid-of
Im trying to get this remote binary file to read the bytes, which (of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.