Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - brew

#16
Download Here / Re: Relax
January 21, 2010, 10:30:55 PM
Quote from: Myst on January 21, 2010, 02:10:04 AM
Top men are still working on it.

Was that supposed to be a reference to Raiders of the Lost Ark?
#17
Starcraft / Re: Starcraft Game Lobby stuff
January 17, 2010, 06:37:22 PM
This.... is simply amazing. I don't know what else to say.
Thank you so much, you're probably the best resource I'll ever encounter.
Are you the main contributor to that google code project?

The storm function listing really helps out too. So, I guess that's why I could never ban the players, because i was just dropping them instead! (I was doing Ordinal106(slotindex, 3), and i gave it the misnomer of SNetIssueCommand)

Also no, that's a whoops on my part. I thought the current version was 1.16.2 *shrug*
#18
Starcraft / Starcraft Game Lobby stuff
January 16, 2010, 04:43:08 PM
For the upcoming Starcraft© Guardian™ banlist (1.16.21), I intend to (in addition to entering text) have a convenient option to blacklist a player by the menu underneath the associated game slot. There's a quick dirty way to do this, of course. Hooking 0041AF10, then adding a reference to your string at (*(dword)(ecx + 3Ah) + *(byte *)(ecx + 46h)).
But this requires hooking, which is ugly, and even worse, would cause StarCraft to fail CheckRevision.

I refuse to use this 'solution' as it lowers my standards of quality software.
Instead, I am currently trying to figure out how to add a menu item by calling 0041B760h but it requires the construction of that struct i mentioned (Since it's passed via ecx like a thiscall, it's probably a reference to 'this').
Interestingly, this is the same function that inserts a line of text into the game lobby chatbox.

So far I've documented a bit of it:

word 0h   = unknown, maybe reference ID?
word 2h   = x
word 4h   = cx
word 6h   = y
word 8h   = cy
word Ah   = unknown, variable val, maybe this has something to do with the y?
word Ch   = unknown, constant 0xA000 though
word Eh   = unknown, constant 0x10 though
dword 10h = unknown, 0
dword 14h = unknown, 0
dword 18h = Flags, currently A0020411h
dword 1Ch = unknown, 0
word 20h  = unknown, variable, smallish value (35 - 63)
word 22h  = unknown, constant 13
word 24h  = unknown, constant 1
word 26h  = unknown, variable, higher order byte seems > than lower order (are these bytes?)
word 28h  =
dword 3Ah = Pointer to the string table of the current menu
byte 46h = current menu slot being referenced
byte 47h = upper bound of slots #s?
byte 4Ch = direction of menu drawing (always 0, for backwards draw)


I'm hesitant on calling it because I _don't_ know what the majority of these members actually are.
Anyone else feel like looking into it and contributing?
#19
The Playhouse / Re: Proxier v1.0
January 15, 2010, 05:40:54 PM
Sorry about that. Fixed btw.
#20
The Playhouse / Proxier v1.0
January 14, 2010, 11:57:25 PM
This is just a small injectable library I slapped up to proxize a TCP winsock connection under Microsoft Windows 9x and NT. It was made at a friend's request specifically for the game Diablo II, but it should work for absolutely any Windows application. Maybe some of you might find it useful...

The source code is available in a ZIP format compressed directory at:
http://darkblizz.org/brew/proxier_src.zip.

The source code for the injector is in a ZIP file at:
http://darkblizz.org/brew/injector_src.zip.

A ZIP file containing the
- precompiled binary executable library
- configuration file, and
- the precompiled injector application
is available at:
http://darkblizz.org/brew/proxier.zip.


The precompiled binary alone is available at:
http://darkblizz.org/brew/proxier.dll.

The injector binary alone is available at:
http://darkblizz.org/brew/injector.exe.


Please take note that proxier.ini must be in the same current working directory as proxier.dll to work.
These programs are released under no warranty, especially the proxier itself. It hasn't been tested at all, however, if somebody does and finds a bug I'll be happy to fix it.
Also, run injector -? or injector -h for help on how to use the injector.
#21
Quote from: ReVoke on June 28, 2009, 10:52:30 PM
-.-.... i mean how would you be doing the global banlist?

Via http.
#22
Quote from: Myst on June 28, 2009, 01:56:41 PMAlso on another note, some people were complaining that other IP Blacklist programs they used for SC before, had gotten them banned.  So we're gonna have to look into how to prevent warden from affecting any user.
There is no reason for warden to detect this as a hack. It's impossible.


Quote from: ReVoke on June 28, 2009, 03:07:16 PM
Brew, about the global database....That would be nice although will only the actual DB staff or w.e. be able to add players to the list or would like any banlist program auto update that list, because i was thinking if it would do it from any users program onto a Darkblizz FTP or well any FTP that could be a security risk because i think it could be quite easy to make a program that would tell whoever is messing with the banlist the FTP/password that the program is connecting too....but just a thought

what?..
#23
It's not my project, it's darkblizz's project.
should be "Starcraft Guardian by DarkBlizz bot development team"
Instead of having it ban based on ip alone, i'll add an option to ban based on hostname. Real easy to do and could incrase detection rates for known hackers with a dynamic ip.
Also, I suggest making a global database of hack users (which you could ignore with another option and use your own list if you'd really want to) hosted by DarkBlizz. Before a hack user could be added to the global blacklist, however, a replay proving 3rd party program abuse must be submitted and will be analyzed by dedicated DarkBlizz employees to minimize abuse potential.
#24
Starcraft / IX86Archimonde.dll
June 12, 2009, 11:43:38 PM
I was pretty bored this morning, so I reversed the wc3 required work dll IX86Archimonde.dll so people can see for themselves exactly what it does. If you're interested (probably not) you can check out the full package at http://darkblizz.org/brew/IX86Archimonde.zip, or just the source at http://darkblizz.org/brew/IX86Archimonde.c.
#25
Open Source WinBot / Winbot
June 02, 2009, 07:33:34 PM
http://darkblizz.org/brew/winbot.zip

Just some crappy STAR/SEXP only 1v1 melee winbot i made a while ago, i figured it'd be okay to release it since keeping warden private hit the fan. Don't expect much, and don't expect everything to work. I made it in about a day for personal use.

Posting this suddenly got me in the mood for some bgh race wars....
#26
Starcraft / Re: SC UDP Game Research
October 31, 2008, 11:08:15 AM
Quote from: Myst on October 26, 2008, 03:20:47 PM
note for change* Command 1 0x4C = chat packet not 0x00
Haha, I thought it was well known that the command 1 packets have no packet id in the header, but instead sticks it in as the first byte of the packet payload.
Command 1 & 2 packets have the header trimmed before being passed to starcraft to parse.
#27
Development / Re: new chat bot
July 13, 2008, 12:55:34 AM
So, it's been just about 2 months since I started thinking about this project and now here I am:
• GUI works pretty well, still adding features there
• No other support except local hashed starcraft so far, but connects at least :)
• MOSTLY done with the configuration, still a few things to fix up.
• Rudimentary internal command processor.
• Dropped the customizable antiflood algorithm. Too complex, and besides: who's going to make them?

What I have left to do:
• Finish up the config, it's still pretty rough around the edges.
• Make the Listview's drag resizing a little more finished, right now I just have the resize itself and a cursor icon change.
• Find a way to redraw the richedit so the text doesn't blur with WS_EX_TRANSPARENT...
• Somehow fix my addchat so the richedit's caret doesn't hover above the crlf. This is so annoying when the focus is lost, resized, then it is redrawn.
• Fix the listview's items' back color to not use the null brush (-1, otherwise the background picture would be cut), but instead, do what visual basic does to redraw it.
• Add support for more clients :)...
• Add support for external dll hashing (bncsutil.dll, checkrevision.dll)
• Add bnls support
• Add proxy support
• Add antiflood
• Add floodbot protection
• Add an about (and maybe even a help) dialog box.
• Add a chat log system. This should be very easy, and gone are the days of struggling to read the unformatted text! Read your logs the way you would on your bot, since they are now rich text formatted (rtf) files.

A great feature with this bot that I'm working on is to have an atmosphere. You can talk to people in different places. Not just a black box, with a list of people in a black box, and some text being displayed in a black box. Different channels now have different feelings to them. You can associate background pictures, fonts, font size, text color, etc with a certain channel. For example, Op HeLL's background pictures could be flames, and the text could be reddish, etc. It has a hellish theme. How appropriate for a channel called Op Hell! Theoretically is no limit to the number of custom atmosphere channels you could have, although my hash table's size is 64 entries. I have a few questions for you about this feature though:
1). Would you like it even?
2). Should I actually change the fonts and text color? I could imagine that would get annoying, and also hard for me to do since I would have to save the formatting and then reparse it when changing colors.
3). Should I save the channels in a single file called channels.atm (atm for ATMosphere)? Or should I have a directory filled with channelname.atm files? You could edit these files from notepad as well as through the GUI.

Another idea that somewhat sprouted from the listview's per-channel background: What if the listview image can be set by the clan's website? You specify the website to download the image from, and when you join the channel, it does. This is all made very easy by using the LVBKIF_SOURCE_URL flag in the ulFlags member of the LVBKIMAGE. Perhaps the same can be done for an extended "channel topic", as with IRC?

Overall, I think I made a lot of progress for typing like, 5 lines a night :P!
#28
Development / Re: new chat bot
May 26, 2008, 08:29:24 PM
Quote from: I Luv Bnet on May 26, 2008, 07:17:57 PM
When does this bot become public?
Never

So i noticed that blend between the listview and the channel label, and i liked it. made the gui look so streamlined... so i got rid of the richedit's borders too. it's starting to look like an mdi version of warrior's piece of glass :-/...
#29
Development / Re: new chat bot
May 26, 2008, 11:42:28 AM
 8)
alpha 0.8 horizon is nearing completion
here are some screenshots, the main gui is just about done








#30
Development / new chat bot
May 10, 2008, 08:43:32 AM
thief's revelation bot has inspired me to develop a battle.net chat bot that will triumph over all.. here's my idea:
•MDI document interface, with tabs. Kind of like IDA :)
•Tabbed bot config (because my current method of making all the controls and frame x not visible and then having another one appear is shit.. not really, just so much work and messy)
•Custom anti-flood algorithm (compile it on your own into raw executable code, will include a default module)
•Will have an option to use bncsutil for hashing, cdkey decoding, srp, etc
•BNLS support for checkrevision (all three, 0x09, 0x18 and 0x1a, you can choose)
•Advanced flood filtering options
•Mutli profile (duh) with option of asynchronous or synchronous sockets
•SC game support (not full, will exit when game starts), hosting and joining
•Winamp support
•Downloads checkrevision modules
•Automatic hash file updates from patch

pretty much like brewbot except mutliprofile and a few other things removed.
if all goes well i'll then clean it up and release it as my first public bot.