|
You last visited: Today at 05:48
Advertisement
about security api and injecting packet
Discussion on about security api and injecting packet within the SRO Coding Corner forum part of the Silkroad Online category.
06/22/2013, 16:34
|
#1
|
elite*gold: 0
Join Date: Jul 2008
Posts: 112
Received Thanks: 10
|
about security api and injecting packet
If i have packet like this
Code:
[C -> S][747E]
1F 00 00 00
how can i send it through silkroad security API ??? (PushEDX)
because if i want to send a normal packet like i use
Code:
Packet packet = new Packet(0x747D);
packet.WriteUInt8(00);
Agent.Send(packet);
but if it have letters like (F)
ah i think it's stupid question  but any one help ???
|
|
|
06/22/2013, 19:08
|
#2
|
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
|
The 'letters like F' are hexadecimal numbers. Usually in day to day situations, we use the decimal system. That means that one character can represent 10 different digits (0-9). However, in programming (mostly low-level, for example when working with raw data in memory or in network traffic) hexadecimal notation is often used, which has 16 digits instead (0-9 and A-F). The reason for this is (as far as I know) because 2 hexadecimal digits make up exactly one byte (16^2 = 256 states), which is often the smallest integer unit used in programming. More about the hexadecimal system can be found here: Hexadecimal - Wikipedia, the free encyclopedia.
Now, to use hexadecimal literals in C# or any other language (derived from C), you can simply prefix it by '0x'. For example, 'FF' becomes '0xFF'.
You usually shouldn't do this though. If the number means something that's human-readable and it must be hardcoded, you should probably convert it to base 10 (decimal) and use that instead.
|
|
|
06/23/2013, 02:56
|
#3
|
elite*gold: 0
Join Date: Mar 2007
Posts: 849
Received Thanks: 668
|
muh deleted... soz
|
|
|
07/21/2013, 05:45
|
#4
|
elite*gold: 62
Join Date: Mar 2011
Posts: 602
Received Thanks: 2,955
|
Well, hexadecimal conversation in computing is easyer than decimal... It's all about binary stuff, since everything goes around digit "2". Transistors also knows only 2 states. Anyway, the point is you can easily convert hex -> bin and back by grouping binary numbers by 4 and so on...
2 ^ 2 = 4 [0x4]
2 ^ 3 = 8 [0x8], size of 1 byte nowadays
2 ^ 4 = 16 [0x10]
Byte (usigned char) is a value in range of 0 - 255 (256 possible values in total, maximum value 8 bits can handle (2 ^ 8)). As far as i remember, the idea of grouping data by 8 bits (what is called byte now) comes from times when IBM developed first supercomputer in 1970's or 1980's, and reasons for that are not so clear (common sense says that numbers which are representable as degree of 2 simply more handy in computing).
So, hexadecimal system is better at many points (first of all - handy, it's easyer for eyes to split numbers & letters than just numbers as it would be with decimal system, and that's pretty much important when you are seeing lots of addresses with similar values let's say at some debugger).
#why da hell did i write that ? _*_
|
|
|
07/21/2013, 21:25
|
#5
|
elite*gold: 0
Join Date: May 2011
Posts: 669
Received Thanks: 407
|
2^4 = 16 = 0x10, if I'm not mistaken.
|
|
|
07/21/2013, 22:16
|
#6
|
elite*gold: 62
Join Date: Mar 2011
Posts: 602
Received Thanks: 2,955
|
Quote:
Originally Posted by Bartic
2^4 = 16 = 0x10, if I'm not mistaken.
|
Ooh, ye, you are right.
hexadecimal is in range of 0x0 - 0xF (0 - 15), 16 values in total
So 0x10 = 16 (dec)
|
|
|
07/22/2013, 23:00
|
#7
|
elite*gold: 0
Join Date: Mar 2008
Posts: 111
Received Thanks: 10
|
(Watch other videos too, it's a good channel)
|
|
|
07/23/2013, 02:50
|
#8
|
elite*gold: 0
Join Date: May 2011
Posts: 669
Received Thanks: 407
|
^Watched all of their videos, I'm already subscribed.
*feeling nerdy*
|
|
|
 |
Similar Threads
|
[C#] Login Packet - Silkroad Security by drew
10/15/2012 - SRO Coding Corner - 5 Replies
hey i am using Drew's Silkroad Security to make a packet based login.( i extend his simple_proxy example)
So i made a new gui with a button. the func of the button is:
Packet p = new Packet(0x6102);
p.WriteUInt8(18);//Locale
p.WriteAscii(ID);
p.WriteAscii(PW);
p.WriteUInt16(11);//ServerID?
Program.gw_remote_security.Send(p);
|
Buying from network with packet injecting?
08/04/2011 - SRO Coding Corner - 13 Replies
What i'm trying to do is simple AutoIt script using nuConnector that automatically buys elixirs from stallnetwork, but client crash everytime it buys one. After reloggin i can see it have bought one, sometimes more. Here is the code:
#NoTrayIcon
#include <String.au3>
Global $buying = false, $currentPage = 1
Global $weapon_id = "00000E5F"
Global $shield_id = "00000E60"
Global $protector_id = "00000E61"
|
Help by injecting
10/01/2010 - Combat Arms Hacks, Bots, Cheats & Exploits - 3 Replies
Some people say their hacks dont work but you always can use Gordon 1.4.0
You dont need to have an account for it. Just download gordonsys loader, open it and than u see login screen. But above login screen there are some tabs, click on injector, type by process Engine.exe click on pick library, choose your .dll file
fill in by delay 0 (or 1000) click on stealth injection, (If u want to keep this settings click on Add library) click inject, And enjoy playing,
(srry for my bad english)...
|
Packet injecting...
03/05/2009 - S4 League - 3 Replies
Alright people. lets figure something out. I want to know if I'm at a dead end before I release anything. (and no I don't really have anything yet). My friends and I have gotten around hackshield, and it still thinks it's running. I've gotten the S4Client to show up in WPE pro's process list. but it doesn't find any packets besides this:
00000000 0A:00:F0:0A:00:00:00:00:00:00 ..........
That's the only packet it gets, which is weird because I didn't get the cannot inject dll error....
|
[Release] Packet Security
11/01/2008 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 10 Replies
Im getting bored of messing around with 2Moons, even though it was a short tyme, so im giving what ive figured out about the packet security to you guys so you can do something with it if u kno how. Well c ya guyz on anotha game if im interested in one :).
/************************************************
*
* PACKET SECURITY
*
************************************************/
|
All times are GMT +1. The time now is 05:49.
|
|