Posting on forums is relatively easy on most languages, but I can't figure out for the life of me how to post on imageboards (not messageboards) using either Java or C++.
Anyone know how? Not looking for full code, just a general idea of how to do it.
all you need to do is send form data in an http post request, just like posting on any other board...
wireshark is the answer
>>4
cURLpp or plain libcurl for C++.
>>1
If the person running the board did not provide an API for automated posting, the you probably shouldn't be doing that anyways.
>>6
http does not provide a way to maintain state across requests, you probably shouldn't be using cookies or URL encoding anyway.
POST
what i usually do is i save a local copy of the form or use some sort of browser extension that let's me modify the page source, opera let's you do this
then i modify action so it submits to localhost:8080 then i listen with nc -k -l 8080 and save what the form outputs and recreate this in my own program
>>11
or you could, you know, do it the easy way and just read the HTTP and HTML specs.
reading html specs will get you nowhere if you don't know what the form submits
1: right click
2: view page source
3: copy the typed stuff
4: paste into your text editor or whatever
5: mess with it so that it is yours
6: sit back and watch the sunset