RFONLINE.ACE.ST TALK ABOUT ALL RF ONLINE PRIVATE SERVER
Would you like to react to this message? Create an account in a few clicks or log in to continue.

RFONLINE.ACE.ST TALK ABOUT ALL RF ONLINE PRIVATE SERVER

THE BEST FORUM RF ONLINE PRIVATE SERVER and share Bot, cheats, hacks, exploits, games, tips and tricks, cheat engine, guide, latest cheat, tutorials
 
HomeLatest imagesSearchRegisterLog in
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
GET VIP MEMBER
RF Online RF Online hacks private server
LIKE US
Keywords
terbaru planet 2011 skyrim 2013 engine beatles hack download emperor dupe patch 2012 lost online dragon dodge eboot saga injector cheat naruto 2014 lostsaga darkness Eagle
Latest topics
» LostSaga .iop Extractor, Editor Tool
PPC Documentation EmptyWed Jul 21, 2021 1:43 pm by sazfhi

» Playstation 3 Online Pass and Rap File
PPC Documentation EmptySat Sep 28, 2019 12:15 am by scoolharis

» RFLogin 2.7 for RFOnline (flyhack, wallhack, speedhack, zoomhack, lvlhack)
PPC Documentation EmptyWed Jul 08, 2015 11:54 pm by iamlegend05

» Hack GM|1 Hit All Weapon|Wh|Ammo Jutaan|Brust All| Aimbot Datar Auto H
PPC Documentation EmptyTue Feb 03, 2015 12:00 am by applefire

» Cheat Lost Saga Unlimeted Skill Passive, Anti Hit Perfect, Kebal, Freeze CSD/Dungeon, HackShop Dan Masih Banyak Lagi
PPC Documentation EmptyThu Jan 15, 2015 5:59 pm by SantaLINU

» Cheat Lost Saga VIP No Delay Skill , Unlimeted HP, 1 Hit CSD Dungeon
PPC Documentation EmptyThu Jan 15, 2015 5:56 pm by SantaLINU

» cheat lost saga fullhack
PPC Documentation EmptyThu Dec 25, 2014 8:34 pm by rian.kinki

» cara jd vip
PPC Documentation EmptySun Dec 07, 2014 6:53 pm by haxerme

» Bounty Hounds Online hacking tool
PPC Documentation EmptyWed Nov 19, 2014 12:50 pm by jackbauer

Who is online?
In total there are 5 users online :: 0 Registered, 0 Hidden and 5 Guests :: 1 Bot

None

Most users ever online was 179 on Thu Oct 08, 2020 3:12 pm
March 2024
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
25262728293031
CalendarCalendar
Search
 
 

Display results as :
 
Rechercher Advanced Search
Top posters
[GM]HASAN
PPC Documentation I_vote_lcapPPC Documentation I_voting_barPPC Documentation I_vote_rcap 
Admin
PPC Documentation I_vote_lcapPPC Documentation I_voting_barPPC Documentation I_vote_rcap 
[GM]POCAY
PPC Documentation I_vote_lcapPPC Documentation I_voting_barPPC Documentation I_vote_rcap 
[GM]ICANG
PPC Documentation I_vote_lcapPPC Documentation I_voting_barPPC Documentation I_vote_rcap 
[GM]DONI
PPC Documentation I_vote_lcapPPC Documentation I_voting_barPPC Documentation I_vote_rcap 
[GM]AGUNG
PPC Documentation I_vote_lcapPPC Documentation I_voting_barPPC Documentation I_vote_rcap 
[GM]TETOR
PPC Documentation I_vote_lcapPPC Documentation I_voting_barPPC Documentation I_vote_rcap 
[GM]AWENG
PPC Documentation I_vote_lcapPPC Documentation I_voting_barPPC Documentation I_vote_rcap 
[GM]ARIF
PPC Documentation I_vote_lcapPPC Documentation I_voting_barPPC Documentation I_vote_rcap 
angelmagetsu
PPC Documentation I_vote_lcapPPC Documentation I_voting_barPPC Documentation I_vote_rcap 
Statistics
We have 3186 registered users
The newest registered user is devcrime

Our users have posted a total of 3547 messages in 1234 subjects
Most active topics
[SERVER] RF Avengers Golden Age
RF Striker Version 1.1.3 Release
RF Babel 2.2.4 ROTL Let the Flame Begin Exspansion V.1
-= RF Ethernal War 2.2.3.2 =-
RF ONLINE LAST REFUGE 2.2.3.2 GOLDEN AGE
RF Dynasty PVP 2.2.3 [LokaL]
[SERVER] RF RankBR 2.2.3 PVP
RF Priority Oficial Black Edition/PVP
cheat lost saga fullhack
RF Amazon 2.2.4 Feel the Revenge of The Fallen Exspansion 1.0

 

 PPC Documentation

Go down 
2 posters
AuthorMessage
Linuxer13

Linuxer13


Zodiac : Gemini Jumlah posting : 22
Points : 34
REPUTATION : 0
Join date : 2012-02-04
Age : 25
Lokasi : New York

PPC Documentation Empty
PostSubject: PPC Documentation   PPC Documentation EmptyThu Jul 12, 2012 12:24 am

A.
WP PPC - Wicked Patcher

or how to put a train on our rails.

Attention! after version wp655f, WP changed its name and change the set of modules.

Wicked Patcher (after wp655f version) contains three modules:

A. PPC - Proxy Packed Converter - a proxy server and scripting package converter
Two. MI - Multi Injector - Multi-injector (v.4.0)
Three. SE - Server Emulator - Emulator servers (not yet completed)

We are talking about PPC.

PPC = Proxy Packet Converter, which roughly means - Proxy, Batch Converter.

PPC is designed to intercept the traffic of any TPC connections (such as games or bot client and a remote game server).
Also,
the advanced control of this traffic, including complete surgical
intervention in the connection protocol and changes in traffic on your
own with flexible scripting.

With PPC, you can select packets TCP, analyze, modify them, block, send packages and do anything with scripts.

PPC
is the first program of its kind, where the scripts can be 'coded'
ability to change the traffic at the moment is there are many imitators
of my ideas (tezhe hlapeksy, l2pakethaki and others) that happy, because
it confirms the viability of ideas as fact.

However, WP PPC is currently the only real thread of this kind.
That is, works with a large number of independent connections.

PPC as an integral module is contained in the WP WP-PPC :: Wicked Patcher, Proxy Packet Converter, Multi Injector (c)

Permeo Security Driver

The composition of PPC include:
A. Two proxy server with a flexible adjustable within the protocol, the default Socks 5.
Each of the multi-threaded servers, that is, each server can hold multiple connections simultaneously. In
principle, it is not necessary and Socks, because the proxy protocol is
written in the script that you can modify to fit your needs.

Two. Advanced Avtologger (hereinafter - AL),
intended for logging and automatic recording of traffic packets. Is controlled either manually or through scripts (including encryption and other methods)

Able
to automatically determine the protocol previously described various
types of TCP traffic, and on this basis provide a description of the
individual packets in an accessible form with the division into separate
arguments. Methods for descriptions of different types of traffic to a separate script descriptor.

The
initial versions of the PPC supports automatic decoding of classical
protocols LA2 and RFO (not all, new protocols for more of these games
requires scripts decoders that are on this forum).

All
other (and generally any) protocols and encodings version of traffic
and types of traffic can be handled by writing the appropriate script.

Three. The script engine.
Allows flexibility to modify packets traffic by writing script programs.
This allows you to do all of the packages we want.
Functions of the script engine at all times shall be supplemented or improved, for them hereafter.
Each received packet is consistently up to three scripts.
[The
packet] >> [decryption (including scripts)] >> [skript1]
>> [skript2] >> [skript3] >> [encryption (including
scripts)] >> [package on departure]

I) Connect client to the server. (As an example of the traffic is seen LA2)

[You must be registered and logged in to see this image.]


Typically, traffic between the client (bot) and server directly, ie client immediately climbs to the specified IP and port of the server.
(LA2 for the traffic: the bot is written in the set.ini, and the client in l2.ini)

Connecting through a proxy, the bot LA2 (walker), occurs at the address specified in the bot, and he was on the proxy passes the protocol address of the proxy server to connect to on the server.

In other words, to redirect traffic bot LA2 (Walker) just because it is set in the options of a socks5 proxy, and this is the PPC sock5 proxy (by default)
Enough to do the following to the bot connected through the PPC:

[You must be registered and logged in to see this image.]

127.0.0.1 sure bet, but the port must be specified such as pointing to one of the servers PPC:

[You must be registered and logged in to see this image.]

And so on 10 times does not clog the address, then save the settings in the options Volcker.
But, attention! Walker is buggy when loade settings - call settings so the Walker twice in a row - it will eliminate glitches when loading previously intact Volcker options.

On the client a little differently because it has no built-in connection via a proxy, and for this we have to use third-party programs proksifikatorami (or use a separate module of MI in the latest version of WP for data acquisition software)

Permeo Security Driver are standard and Proxifier proksifikatorami that an excellent job with the interception of traffic on the PPC, full instructions for using the Internet.

Attention!
The latest version of WP PPC module added Multi Injector.
It allows you to redirect the program without using a third-party proksifikatorov.
as an example,

[You must be registered and logged in to see this image.]

in the case of LA2 client must include a check on l2.exe (l2.dll in the case of the left boot)
in the case of RFO to include check boxes and rf.exe rf_online.bin (rf.exe to implement DLL helps capture rf_online.bin)

for all other programs are writing the interception by analogy with these.

MI to work with the processes, you must also enable the button:

[You must be registered and logged in to see this image.]


(more complete documentation of MI (Multi Injector) to be written ...)
Attachments
PPC Documentation Attachmentl2.zip
Attention! in the description of the settings screens obsolete, Here is an example of how traffic is intercepted Lineage2 version WP658:
You don't have permission to download attachments.
(462 Kb) Downloaded 9 times
Back to top Go down
http://phrack.org
Linuxer13

Linuxer13


Zodiac : Gemini Jumlah posting : 22
Points : 34
REPUTATION : 0
Join date : 2012-02-04
Age : 25
Lokasi : New York

PPC Documentation Empty
PostSubject: Re: PPC Documentation   PPC Documentation EmptyThu Jul 12, 2012 11:50 am

wo.

After configuring the connection, set up PPC:

II) Options PPC (as an example of the type used by the traffic LA2)

At the beginning need to define the port to which hooked our proxy server.
Since the two of them, we can put two numbers in a row, the default is 1777 and PPC 1778. But you can choose any unoccupied rooms.
Usually only one server, so choose either of the two and push the power button (with a yellow sun).

[You must be registered and logged in to see this image.]


If you see a warning that the port is busy, put a different port number.
! It is important to correctly configure the firewall to allow the WP PPC to run a server on the local computer, and also allow access to the Internet. !

By clicking on the button [* PSC Panel], open the main panel of PPC:

Here the first tab shows the main panel of PPC:

[You must be registered and logged in to see this image.]

On it, at the top, there is a list of matching conditions for the compounds, the following options.

In this tab, set the terms of the binding scripts.
The condition can be:
Server name - to coincide with the connection name of the server (see Server Name in the records of MI)
Host / IP - a connection must match Host or IP
Port - a connection must match Port

Checkmarks are placed or how or whether one condition or combination of them.
The following list is set from 1 to 3 scripts for this binding.

! It
must be remembered that if we put a condition port 2106, then these
scripts in this recording will start only if the interception occurred
at this port, that is only for the duration of the login server, so the
most reasonable to ask only Host / IP. To
this should be only one tick Host / IP on this subject, and in the
'Select by' should also be our IP server (or symbolic name host'a)

By installing the port, we can separate login for the server to run some scripts, and for other geymservera.

For example, we want to install the script allows the bot to move normally on Java servers, l2j. Let
the IP of the server we will be 195.152.91.110, the name of the script -
demo2.sc (the script is already in the distribution).

Then it should look like this:

[You must be registered and logged in to see this image.]


(1) we add the [Add] in the server list, you can with any name, such as [names].
(2) making sure that there will be an entry marked (selected), we enter the IP in the first field above the button [OK]. (4) Then press [OK].
(3) a tick mark [x] Host / IP
(4) Then press [OK].
(5) After that, specify which scripts will be run under these conditions.

Now click on the empty place in the record to deselect it, we should see the coloring of the fields. If the first field with the number of green, and there is no field with the red, it means that this record will be used, otherwise it is ignored (when there is at least one red box - means data is not fully implemented)


[You must be registered and logged in to see this image.]

Now, if the connection will be made on such an IP, then this connection will be running scripts below (list of three lines).
We set up a script, but you can put up to three. They will be executed one by one, giving each other a package in the chain, after the latter, he will encrypt and send.
For each compound are used strictly only the specified script. (but they can be used by other 'uses' see below)

Scripts single connection will never intersect with the scripts of other compounds (but, if necessary, to combine the spaces we can use the same DLL on two or more joints, causing it to your scripts (edit: or use the global dictionary 'gGlobal' see description below)

Attention! screens in the description of the settings is partially outdated, but all the options and panels remain in analogy with the description, regardless of changes in the appearance and software versions.
Back to top Go down
http://phrack.org
Linuxer13

Linuxer13


Zodiac : Gemini Jumlah posting : 22
Points : 34
REPUTATION : 0
Join date : 2012-02-04
Age : 25
Lokasi : New York

PPC Documentation Empty
PostSubject: Re: PPC Documentation   PPC Documentation EmptyThu Jul 12, 2012 11:59 am

Three.


Here in this tab we can see options (they are currently the default):

[You must be registered and logged in to see this image.]


'[]
No script does not pass' - if there will be checked, then the
connection is not released to the selection list script (or if the
record selection is not complete, there is a red field), will be
installed at all (the connection is broken).
'[X] Auto Auto Logger'a (AL)' - AL works immediately, with the first batch. Otherwise it will wait for pressing the [On / Off] tab, see Auto Logger. (Or when a script is a command)
'Package
store [3000]' - Since it is impossible to keep all traffic (too
expensive), here set the maximum number of packets per connection. When
the number of packets collected in the working set exceeds the AL, the
early (top) packages will be removed and added to the last. For example, if costs 500, but the AL was running 850 packages, the packages will remain 350 to 850. The values ​​of this option can be from 100 to 3000.
'Max. File size AL [15] Meg. ' -
All collected bags (if AL was included at least for a time), when the
connection is stored in the file 'autolog.dat', there are added all the
packages until the file size exceeds specified in this option. Next, the file is renamed to 'autolog.dat ~. Dat' replacing the old one, if it was, and a new file. 15 megabytes is usually more than enough, but to whom little can be set to 25. (See tab Auto Logger.) (For very large file size, download it for later viewing may take some time)
'Type AvtoParsinga package [1]' - a value of 1 - means the automatic separation of 'glued' packages. Value 0 - do not parse the packets, the value of 2 - to share in fact the size of the first two bytes. The default value of 1.
If
you use a parser in their own scripts (such as a decoder), usually put
0, and the type of parsing is prescribed in the script itself.
The value can be changed on the fly in the scripts. For
example, knowing that the first package - a package of protection, we
set the value to 0 (set in the script) and work by emulating the
protection when it comes to parsing the standard, we set 2. (Put in the
script)
'Type PDecode package [1]' - a value of 1 - automatic determination of type of encoding packet traffic. 0 - off, in which case the package will go the way they are and must be decoded by a script. 2
- inclusive packages for embedded avtodekodirovanie types of traffic
'GSDecode' (decrypted will only be determined if the keys and will be a
positive type of auto traffic). usually 1.
In the script may change if necessary.
'Timeout for inactivity [0]' - in seconds. Any connection that within a specified time there was not a single package - torn. 0 - off the timeout. (Default)
(Also, there are other types of timeouts)
A / t packet delay [3] - a numeric parameter value and growth delay. The recommended value of 1 to 5.
With a strong PPC CPU load process value is necessary to reduce (or optimize your script!).
[X] AL filter by default - automatically use a filter for the traffic and the type of server.
[X] Identify Host - the definition of a host name by IP at the beginning of each session. Attention! may
lead to small one-time delay at the beginning of the connection (up to 3
seconds), in failing to determine the host your DNS server. In this case, a tick can be removed.

[X] Auto LA2,
[X]
Auto RFO - auto traffic types, using their own methods for determining
(scripts), or when using PPC for traffic other than the LA2 and RFO,
these options can be disabled.

All options PPC remembered when you exit WP PPC.

Here
we see the option to install the script for the proxy protocol, by
default, runs the script is almost similar to what can be found in the
file 'wpsc \ socks5.sc'.

III) scripts.

Established connections can be seen on the tab Links Online:

As an example, we see the online connection to the bot LA2.
! (Later we will analyze a real connection, it used a different IP, different from what we have indicated above)

[You must be registered and logged in to see this image.]


Below is the list we see the bookmark 'SysLog', 'INFO' and 'Send Raw Packet'
'Syslog' is the system log, there are written global error messages, or messages from the event OnCreate and OnDestroy (as well as messages from the proxy script and more).
'INFO' - that is, information about the active compound.
'Send Raw Packet' - the ability to send a package by hand, without a script.
in the upper field, enter the package as a two-character hexadecimal bytes separated by a space, the active compound is selected and press the button on the sending server or client. There are multiple timer reference.

In the bottom right under the list of online connections, we see the button [Terminate link]
This button, we can always close the connection.

The button with the sun and the word 'edit scripts online' active only when the active compound from the list.
When selecting the connection and click on this button, an additional tab to the server name and Host / IP


[You must be registered and logged in to see this image.]


The tab is the editor of three scripts and a script to log the connection,
Scripts can be quickly, without breaking the connection rule, write to memory / disk to unload / load ...
Script Log - there are written reports of scripts for each package.

All
three scripts are called one by one for each incoming packet, passing
through all three scripts, the packet is encrypted and sent on, and
where he was in the beginning. (As an example, we talk about automatic decoding of traffic, but usually use a decoder in the script)

Upon
receipt of the next packet traffic, he again goes to the scripts and so
on (and packets from the server and the client are all going through
the scripts, and scripts are already in the can with respect to
_gFromServ determine which side of the packet and, therefore, must go
much further )

Buttons
Read / Write - read / write the script in memory, after correcting a
script that he has reformed in memory, you should click Write - from
this point on the next packet immediately gets on the revised script. Read - reads the packet from memory.
Button, Load / Save - load / save, respectively, the script from / to file.
If
you used the click Load, then after downloading, you must press the
Write, script to the editor enlisted in the memory packages. That is, as for editing.
In the tab, we see ScriptLog posts by scripts (such as function Writelog ()) and the script errors. If the error is fatal for the connection, it will disconnect and the entire script tab is closed. But! If
you have enabled (enabled by default, remember option) Auto Logger, all
this can be written to the log, and report scripts too, so we always
know what happened there.

If
we have a script that uses the OnCreate and OnDestroy, then rewriting
the script _na letu_ during the connection, in the previous script is
first invoked OnDestroy, then loaded and running again, a new OnCreate.

Attention! screens
in the description of the settings is partially outdated, but all the
options and panels remain in analogy with the description, regardless of
changes in the appearance and software versions.
(See the additional options appearing at the end of this section in future updates, or as we update this documentation)
Back to top Go down
http://phrack.org
Linuxer13

Linuxer13


Zodiac : Gemini Jumlah posting : 22
Points : 34
REPUTATION : 0
Join date : 2012-02-04
Age : 25
Lokasi : New York

PPC Documentation Empty
PostSubject: Re: PPC Documentation   PPC Documentation EmptyThu Jul 12, 2012 12:04 pm

4.



IV) Auto Logger. (AL)

Bookmark 'Auto Logger' provides a means of logging packets, and reports changes to scripts.

Above is a list of connections on the left a list of packages selected compounds.
Press
the 'Online' / 'Log File' on the right of the netlist, you can choose a
list of online connections, or a previously recorded in the file.

When
you select 'Online', in the list above, every second, updated the
currently running connections, and selecting one, you can see the
packets of the compound in the left list.
Button Start log / Stop log stops and restarts avtolog for each connection (see the option Auto Auto Logger'a [] panel PPC)
Clicking on any package from the package list, you can see the contents of the package.
'S> c' means that the packet goes in the direction from server to client.
If the script has changed the package, you will see an additional tab, which will be shown a new package with the changes.
Also, there will be additional tabs in the other cases.

Retained only a certain number of packets, a maximum of 3000 packets (see options)
When you break the connection, the connection log is written to a file for further analysis.

[You must be registered and logged in to see this image.]

If the package was to fix the script, or was some kind of message from the script, then there are additional tabs:

[You must be registered and logged in to see this image.]


Then
the packet goes from the client through the script, tab C> (scr),
then the ideal package from a script on the server (scr)> S.

Bookmark Scripts log appears when the script is what gives any message (for example p-tion Writelog ())

There
is a tab (scr) <> (a) / (s) Bookmark this reflects the additional
packages that were transferred from the script when processing the
package.

mapping packages in the package list:
A. first bracket '>':
S> c, C> s - send the current packet without modification.
Two. first brace '}':
S} c, C} s - the packet with the changes (tabs S> (scr) C> (scr) (scr)> S (scr)> C)
Three. second bracket '>':
S >> c, C >> s - send the current packet without modification,
but were sent an additional package. (Tab (scr) <> (c / s))
S}> c, C}> - send the current packet with the changes
plus additional packages have been sent (bookmarks match)
4. icon at the end of '~':
S> c ~, S}> c ~, S >> c ~ .. - Prisustvuyut messages from scripts (tab Script Log)
Five. the symbol 'x':
S> x, C> x, S >> x, S} x - the current service is locked.
6. first icon '='
=> C, => s - packet is sent manually, bypassing the script. ('Links Online' / 'Send Raw Packet')
7. first icon 'T': (see 'OnTimer')
messages or packages from the event timer:
T> ~ - There are messages from the script on a timer event.
T >> T >> ~ - additional packages were sent to the timer.


Description of packages.
Description packets depends on the type of traffic, and set either automatically or manually on the tab 'Description'.

example of 'coloring' package, depending on the types of arguments (and the type of traffic, in this case, the traffic 'LA2'):


[You must be registered and logged in to see this image.]


color changeable.
for one type of argument, one color, but up to 5 tones to one type of arguments are not 'glued'

Number of packets can be switched to the name from the description, or vice versa:

[You must be registered and logged in to see this image.]

V) Script Tester

This is a separate script engine for testing and checking the syntax of expressions of the script or the script.
Part
of the system variables responsible for the flow of packets and
connections absent (for debugging, you must initialize them manually)

When
you exit the WP, everything that is written in the Script Tester'e will
be automatically saved in the file 'ScriptTester.txt'. And when you run the WP back there to boot.


the ability to choose the script engine:
depends on the script file extensions:

'. Sc' - WPS, - a text file WPScript
'. Fsc' - FS, - a text file FastScript PPC
'. Xml' - PFS, - pre-compiled file FastScript PPC. (You can create a Script Tester'e)

In. Xml event (pre-compiled) file can only be used, but not edited.
Also, it is difficult to understand, can be used as a semblance of encryption script

Pre-compiled
file will be approximately 6-9 times more text, but when the primary
load (and thus the compilation) will be faster.
compilation
occurs only once at startup, but, for example, of more than 2000 lines
compiled '. fsc' will be about 3 seconds, and the compilation '. xml'
will be 100 ms.

Further, after the compilation, with the script, the difference in speed will not.

Attention!
It is recommended to choose a script FS as FS engine is faster and advanced than the WPS. (Change: WPS is outdated and no longer updated, use only the FS)

Attention! screenshots
of the version of WP in this documentation is outdated, the new version
of WP may have differences in design and in functionality.
Back to top Go down
http://phrack.org
Linuxer13

Linuxer13


Zodiac : Gemini Jumlah posting : 22
Points : 34
REPUTATION : 0
Join date : 2012-02-04
Age : 25
Lokasi : New York

PPC Documentation Empty
PostSubject: Re: PPC Documentation   PPC Documentation EmptyThu Jul 12, 2012 12:06 pm

Five.




VI) The functions script language WPS.


Attention!
WP PPC contains two different script engine, syntax, and the fax, which is different.
WPS, as obsolete engine is no longer supported, use only the FS engine.
Here, the script engine is described WPS, information about the other, FS, will continue on.


The syntax of the script engine WPS

The syntax for the creak - WPS language in many ways similar to Pascal, the exceptions below.

The following statements:

begin .. end;
if .. then .. else
case ... else end;
For .. to / downto .. do
While .. do
Repeat .. until
continue
break
goto
exit

Avtotipizirovany
variables, that is, the type of the variable is defined in the
assignment, according to the result or the first operand in the
expres​sion(if the result is not clear).
Variables can be redefined.
Declared variables are stored on the package to the package in a single session (in fact, they are global for a single session)


The
main difference from standard programming languages, it is a partial
leveling of the definition of types char / byte in the expressions on
the one hand this is a script unloads the car and accelerates it dozens
of times, on the other hand, imposes restrictions.

An example of determining the type of the variable;

c: = 'a'; / / type of char;
k: = c + a / / type of shar, equivalent to k = char ((byte (a) +1) and $ ff);
k: = 1 + c; / / an int, is equivalent to k = byte (s) 1;
k: = 0 + c; / / an int, equivalent to a simple translation of type k: = byte (c);

example of a rule violation 'of the rearrangement of the terms' =)
zz: = 2 + gBuff [1]; / / - zz was int, = (byte (buff [1]) + 2) and $ FF;
zz: = gBuff [1] + 'a'; / / - zz has a string, (= 'aa')

To avoid such errors, I advise you to use an explicit conversion:
k: = byte (c);
k: = char (c);

But the assignment of the element lines (one-dimensional array) will be working as you want:
s: = '123456 '; / / buffer - this exact same line.
s [4]: ​​= 'G'; / / here s = '123G56 '
s [5]: = 60 / / Here s = '123G <6 '

hexadecimal values ​​as in Pascal:

v: = $ 10; / / v = 16;
v: = $ FFFF; / / v = 65 535

symbol numbers, too, as in Pascal:

c: = # 97; / / c: char = 'a' (97 = $ 61)
c: = # $ 61; / / c: char = 'a' ($ 61) hex character =)

string can be typed differently:

s: = 'aaaa1';
s: = '# $ # $ 61 + 61 + # 97 + # 97 + '1'; / / = 'aaaa1'
access to the characters / bytes in the array at position 1 that is, s [5] = '1 '


functions and procedures of the script:

In the script, you can write functions and procedures, syntax similar to Pascal.

procedure Name (v1, ... vn); / / description of the procedure
begin / / procedure body

end;

function Name (v1, ... vn); / / function description
begin / / function body

result: = ... / / Return value.
end;


procedures and functions with no arguments are described as follows:
procedure Name ();
...
function Name ();
...

Attention! (Only WPS)
All
external variables described in the main body of the script is copied
into the body of the function / procedure, but does not change with
output. Except for the variables described in the arguments.
System variables are included. (_gOutBuff Only set in the main body of the script)

----------------------------------------------
>> Like this is wrong: <<<

procedure aaa ();
begin
_gOutBuff: = _gBuff; / / _gOutBuff is local to this f-tion!
/ / Is copied from the ground, but does not alter the core.
_gOutBuff [5]: = # 0;
end;

begin / / main body of the script

aaa; / / <- function call does not change _gOutBuff;

end;
----------------------------------------------
Right >> like this: <<

function aaa ();
begin
result: = _gBuff;
result [5]: = # 0;
end;

begin / / main body of the script

_gOutBuff: = aaa; / / now _gOutBuff established normally.

end;
----------------------------------------------
So, too, right >> <<

procedure aaa (bf);
begin
bf: = _gBuff;
bf [5]: = # 0;
end;

begin / / main body of the script

bf: = 0 / / define a variable.
aaa (bf);
_gOutBuff: = bf; / / now _gOutBuff established normally.

end;
----------------------------------------------

Arrays.

One-dimensional arrays are a collection of individual variables.
Declare each element separately.
for example:
a [100]: = 10;
- Will create one hundredth element of the array a [], but other elements have not yet determined.

length (a) - will not work, since each array element is a separate variable.

If you want the whole array at once, then, at the moment, only in this way:
if _gAbsNumPkt = 1 then begin / / if the first packet, then declare variables.
for i: = 1 to 100 do a [i]: = 0;
alen: = 100, / / ​​create a variable, which will keep the size of the array.
end;

The string / buffer is also defined as one-dimensional array, but it has the properties of string.

Two-dimensional arrays can not be created, but you can create arrays of strings / buffers.
for example:
a [1]: = _gBuff;
if length (a [1])> 2) then ID: = a [1] [3] / / if the packet size is greater than 2, the berms ID package

length (a) - gives an error.
length (a [1]) - returns the size of the package.

For
the purposes of PPC is sufficient, since the WPS focuses on performance
and more powerful arrays significantly reduce performance.

More advanced syntax and features a second script engine FS, the information will be next.

System variables script engine WPS

All variables are defined in scripts or when are valid for the entire session.
In addition, there are system variables, for both incoming and outgoing inf-tion in the scripts. (Only for WPS)

_gBuff: str - input buffer (line), it comes in a package of scripts.
_gOutBuff: str - the output buffer is the package that goes beyond its intended purpose.
If nothing is assigned to this variable, the packet will be output without change.
_gFromServ: bool - returns true, if the script received a packet from the server to the client.
false - if the client to the server.

_gS3onTimer - returns true ('1 ') if the script is running on a timer (see gSys (' S3timer '[, time]))

_gS3TimerCount - returns the count of times the timer with the timer was last reset.
timer if it is dropped to zero (off - gSys ('S3timer', 0)) _gS3TimerCount counter is reset. (_gS3TimerCount Only from WP410F)
(See gSys ('S3timer' [, time]))

_gAbsNumPkt: int - the absolute number of the incoming packet is numbered from 1.

_gStopOnError (bool) default false, if set to true, it will disconnect in case of any error the script.
The break will not immediately, it may take a couple of packages (for the log is useful).

_gServName - the string to the server name as defined by PPC.
_gServHost - the string to the host server, if it is defined.
_gServIP - int, IP server.
_gServPort - int, Port server.

_gCWinSock - available only in the script socks5, type WinSocketStream.
Back to top Go down
http://phrack.org
Linuxer13

Linuxer13


Zodiac : Gemini Jumlah posting : 22
Points : 34
REPUTATION : 0
Join date : 2012-02-04
Age : 25
Lokasi : New York

PPC Documentation Empty
PostSubject: Re: PPC Documentation   PPC Documentation EmptyThu Jul 12, 2012 12:07 pm

6.




VI) The functions script language WPS. (Continued)

Standard Features:

byte (char), char (byte)-the direct conversion to type byte or char, respectively.
Attention! the script-language FS this method of conversion is not acceptable. If needed, use the fax, (see further description of FS)

Address translation functions:
inet_ntoa (addr: int): str; (standard p-function.)
inet_addr (s: str): int64; (standard p-function.)
inet_addr ('127 .0.0.1 ') - returns the integer 16,777,343 ($ 100007F)
inet_addr ('zzzz') - error return -1 ($ FFFFFFFFFFFFFFFF) (64 bit)

_getIPbyHost (s: string): integer; - returns the IP address of the host name.
! Uses DNS, the delay in the absence of a DNS name can be up to 3 seconds.
returns 0 if an error occurs or if the address of the host name could not be found.

Copy (s, inx, count): str - returns a substring from stkroki 's' from 'inx' room symbol of 'count'. (Standard p-function)
Also, returns from a binary buffer 's' from 'inx' number 'count' bytes / characters.
Copy ('skjd123lsd', 3,2) - return 'jd'

Insert (sub, s, idx); - Inserts a substring of 'sub' to the string 's' from 'idx' position.
Substrings of a string and can be a binary buffer / packet.

s: = '123456 ';
Insert ('zz', s, 3);
/ / Now s = '12zz3456 ';

Delete (var str, idx, count): str - Removes a substring from a string 'str' starting with 'idx' number 'count' characters

pos
(subs, s): int - returns the index at which to start the substring
'subs' in the string (buffer) 's', or 0 if this substring is not found
(standard p-function)
pos ('4 ',' FD12345 ') - returns 6.

Length (s): int - returns the length of the string (buffer) (standard p-function)
Length ('dfgoi') - returns 5

IntToStr (i): str - converts an int to a string. (Standard p-function)
IntToStr (123) - will return '123 ';

StrToInt (s): int - converts a string to an integer (the standard p-function)
StrToInt ('2332 ') - returns in 2332;
StrToInt ('$ 2332') - returns 9010 ($ 2332);
StrToInt ('sdsd') - will give an error the script.

FloatToStr (), StrToFloat () - same as the previous f-tion, but only with fractional numbers.
StrToFloat ('234 .2 ') - returns the 234.2 (standard p-function)

UpperCase (s), LowerCase (s) - converts lowercase to uppercase and vice versa, respectively. (Standard p-function)
UpperCase ('AaaaVvvv') - return 'AAAAVVVV';

Trim (s) - trims leading and last blanks and control characters (unprintable). (Standard p-function)
Trim ('a sd') - will return 'a sd'


Format (frmstr, a1, ... an): str; - (p-standard function)
formatted output arguments a1 .. an in accordance with the format string frmstr.
The function returns a formatted string.
'Frmstr'
- formatting string is a text string, which in the right places are
special characters (specifications) that define what and how to be
substituted for the parameters.
'A1, .. an' - parameters, each parameter corresponds to a single specification of characters in the format string.

a
more detailed description of the format string, see p th 'format' in
the Pascal / Delphi (or here _http :/ /
[You must be registered and logged in to see this link.]
or see the 'printf' in c + + (for example here _http :/ / ru.wikipedia.org / wiki / Printf)

Examples:
x: = 100; y: = 200;
writelog (format ('X in 10noy:% d Y in hex:% x', x, y));
will be recorded in the log: 'X in 10noy: 100 Y in hex: C8';
the same thing: writelog (format ('% s% d% s% x', 'X in 10noy:', x, 'Y in hex:', y));

Options for the date and time:
Now; Date; Time; DateToStr; StrToDate; TimeToStr; StrToTime; FormatDateTime;
The description does not give, they are standard.

Arithmetic f-tion: (also all of the standard)
Abs; Int; Fract; Round; Ceil, Floor, Trunc, Sin, Cos, Tan, ArcSin, ArcCos, ArcTan,
Exp, Ln, IntPower, Sqr, Sqrt, Inc, Dec;
Operation: div, mod

Bit operations:
BitAND, BitOR, BitNOT, BitXOR, SHR, SHL;
Back to top Go down
http://phrack.org
Linuxer13

Linuxer13


Zodiac : Gemini Jumlah posting : 22
Points : 34
REPUTATION : 0
Join date : 2012-02-04
Age : 25
Lokasi : New York

PPC Documentation Empty
PostSubject: Re: PPC Documentation   PPC Documentation EmptyThu Jul 12, 2012 12:07 pm

7.



VI) The functions script language WPS. (Continued)
Attention! WPS engine is obsolete and no longer being updated. Update only the functions FS - engine.
Use only the FS engine (see description below on FS)


Further, non-standard f-tion.

ScriptTimeOut (ms), ms = 100 .. 31000. - Change the script timeout setting (0.1 to 31 seconds).
Any default script is terminated, if the running time exceeds 1 second by default, _ScriptTimeOut change this value.
In the script, the tester can set the value 99999, then the timeout will not be tracked
(In batch scripts does not disable the timeout)
Timeouts for inactivity during the action script is not checked.

WriteLog (a1, a2, .., an); a1 .. n - any variables, Shows the log messages or variable values. Log - for socks-script is Syslog, for batch scripts - a, Scripts Log. (Visible in each entry in the log, or online script editor)
The script tester displays in its log.

WriteLogH (a1, a2,,, an); a1 .. n - any variables.
Int Displays in hexadecimal;
If the variable is a string (Str), is displayed as is, without any changes.
It is convenient to display the hex values ​​in the log reports.

For example:
WriteLogH ('X coordinate is:', curx, 'Y coordinate is:', cury);
this is equivalent to:
WriteLog ('X coordinate is:', inttohex (curx, 2), 'Y coordinate is:', inttohex (cury, 2));


WriteLogHexB (buf [, len]); writes HexBlock buf'a as a unit, as is done in Autologger'e;

InttoHex (int [, mincount]): str - returns an integer in hexadecimal notation (in Hex) as a string.
IntTohex ($ 3461EAE) - returns the string '3461EAE ';
IntTohex (7777) - returns the string '1 E61 ';

BuftoHex (buf: str): str - converts each byte in Hex;
BuftoHex (# $ # $ 01 + 02 + # $ 04) - returns the string '010204 '
BuftoHex ('aaa') - returns the string '616161 ';
BuftoHex (inttostr (7777)) - returns the string '37373737 '

FStr (len, ch): str; create and return a string (buffer) of size 'len' and fill in the character 'ch'.
buf: = FStr (1024, 'a') - create a buffer 1024 characters and fill it with the symbol 'a'.
buf: = Fstr (100,0); - a 100-byte buffer and reset it.
restriction on the maximum - 65k =)

HStr (str, [, len]): buf; / / build the package
HPck (str, [, len]): buf; / / build the package and add the length of the machine
package is specified as a hexadecimal literals with spaces or without
the second argument is the length of the packet, unspecified letters are supplemented by zeros

Example:
/ / For example, a package of social need "Greeting" type "1B 07 00 02 00 00 00"
/ / Ie need to collect the # $ 07 + # 0 + # $ 1B + # 2 + # + # 0 # 0 0 +
/ / This can be done in different ways:
pck: = HStr ('07 00 1B 02 00 00 00 ') / / - complete package $ # 07 + # 0 + # $ 1B + # 2 + # 0 0 + + # # 0 "
pck: = HStr ('07001B02000000 '); / / same
pck: = HStr ('07 00 1B 02 ', 7) / / same
In this case, the second argument - is the size of the line, to which must be supplemented by zeros.

or, if necessary, he added that the size, then use the ip-tion HPck (str, [, len]): buf;

pck: = HPck ('1 B 02 00 00 00 ') / / = the same, ready-n-t $ 07 + # # 0 + # $ 1B + # 2 + # 0 0 + + # # 0 "
the first 2 bytes of the packet size is added automatically
pck: = HPck ('1 B02000000 '); / / same
pck: = HPck ('1 B 02 ', 5) / / same thing to pay attention to the specified size.
As we see in the fax, HPck () indicate the size of the line item without first byte of the length of the packet.

In all cases, we obtain a complete 'correct' line # $ 07 + # 0 + # $ 1B + # 2 + # + # 0 # 0 0 +,
which corresponds to the packet "07 00 1B 02 00 00 00" and ready for shipment.


ReadSocket (s: Socket; var buff: str; count: int [, ms_timeout = 5000]): int; - only socks script
WriteSocket (s: Socket; var buff: str; count: int): int; - only socks script
(For batch scripts ip-tion further in the text)


GInt (buf; index; size: [1 .. 8]): int; - takes Int as 4 bytes from buf [index];
or Word as 2 bytes. 'Size' can be from 1 to 8, so 8 bytes = int64
s: = # $ # $ 01 + 02 + 03 + # $ # $ # $ 04 + 05 + 06 + # $ # $ # $ 07 + 08;
Gint (s, 3,2) - return the word in 1027 ($ 403);
Gint (s, 3,4) - return int $ 6,050,403;
Gint (s, 1,Cool - returns int64 $ 807,060,504,030,201;
Gint (s, 5,1) - returns the byte $ 05;
Gint (s, 6,4) - will give an error the script. (Buffer size, going beyond)

PInt (buf; iw: int / word; index; size: [2,4]); - Same as GInt, only writes.

gBlockPacket; - This function is blocking incoming packet, then it will not go anywhere.
For example a ban on the query '/ gmlist' will be as follows:
Code:

if (not _gFromServ) and (copy (_gBuff, 1,3) = HStr ('03 00 81 ')) then gBlockPacket;

AnsiToWStr (astr, wstr): int; - Ansi translation string 'astr' in WideString 'wstr'.
Variable 'wstr' must be declared, it can be written WideString.
returns the number of bytes written to the 'wstr' or -1 if error.
example:
ws: =''; / / variable declaration 'ws'.
k: = AnsiToWStr ('str', ws); / / here will be ws = 'str' (# 73 # 00 # 74 # 00 # 72 # 00)
if k <0 then writelog ('Error AnsiToWStr');

Attention! default function does not add two zero bytes as a sign of Wide-line.
If needed zeros at the end: (a sign of the end of the Wide-line)
k: = AnsiToWStr ('str' + # 0, ws); / / here will be ws = 'str ..' (# 73 # 00 # 74 # 00 # 72 # 00 # 00 # 00)

WStrToAnsi (wstr, astr [, n, len]): int; - translated from the position of WideString 'n' length 'len' bytes in Ansi.
returns the number of bytes written to the 'astr' or -1 if error.
If 'n' is not specified, the default value of '1 '(the beginning of the string / buffer)
if the size of the string 'len' is omitted, then translates the entire string / buffer 'wstr',
If 'len' = -1, then a line terminator 'wstr' - two zero bytes '00 00 'erosion.
Also, the 'len' = -1 in the 'astr' adds a line terminator (one byte # 0)
Attention! positive 'len' is rounded to the near-even as symbols of Wide-byte.

examples:
ls: = AnsiToWStr (buf, st, 10, -1);
st: = trim (st); / / get rid of the # 0 at the end, if he will be there (see p-tion 'Trim')
if ls = -1 then begin writelog ('error in AnsiToWstr'); exit; end;
if ls> -1 then AfterWideStr: = buf [10 + ls * 2] / / byte after the wide-line.
take of 'buf' with a 10 byte wide-line until the first sign of the end of the wide-line
write it as ansi-string 'st' (with zero at the end! in this case),
returns the number of bytes written to the 'st'.
Taking the 'ls' 2 (ls * 2) Get the number of bytes read (Widestr double-byte)
That is, buf [10 + ls * 2] - next byte after the wide-line, provided that there were no errors (ls <> -1)
to get rid of zero at the end of the 'st' can be applied ip-tion Trim (st);

st: =''; ws: =''; / / declare variables.
AnsiToWStr ('AB', ws); / / write in the 'ws' string 'AB' in a Wide-line (# 00 # $ 41 $ 42 00).
WStrToAnsi ('', st) - in 'st' nothing will happen, piano, I will return 0
WStrToAnsi ('', st, 1, -1) - in 'st', well, nothing will happen, piano, I will return 0
WStrToAnsi (ws, st) - in 'st' is 'AB' (# $ 41 # $ 42), f-I will return 2;
WStrToAnsi (ws, st, 1, -1) - in 'st' is 'AB' + zero (# $ 41 # $ 42 # 00), f-I will return 3;


Last edited by Linuxer13 on Thu Jul 12, 2012 12:11 pm; edited 1 time in total
Back to top Go down
http://phrack.org
Linuxer13

Linuxer13


Zodiac : Gemini Jumlah posting : 22
Points : 34
REPUTATION : 0
Join date : 2012-02-04
Age : 25
Lokasi : New York

PPC Documentation Empty
PostSubject: Re: PPC Documentation   PPC Documentation EmptyThu Jul 12, 2012 12:08 pm

Eight.



VI) The functions script language WPS. (Continued)

Attention! WPS engine is obsolete and no longer being updated. Update only the functions FS - engine.
Use only the FS engine (see description below on FS)


System f-tion:
function adapter 'gSys ()'
gives access to the system variables and functions.
Name of variables and functions in the first argument of the f-tion.

gSys
('Tick'): int - returns the number of milliseconds elapsed since the
start of the computer (standard p-function GetTickCount)

gSys ('Tick', var, ms): bool-returns true, if the elapsed time is equal to 'ms' or more
with the last run of the fax, (with the same variable var).
the variable 'var' use of different in each new 'Tick' otherwise they will interfere with each other.

For example, sending a packet to the server every 10 seconds (10 seconds or more):
of course, not applicable for packages, the time can be from 10 seconds to the nearest package after 10 seconds.
if _gAbsNumPkt = 1 then begin / / first packet.
/ / The first packet is used to set initial variables a time.
..
tv: = 0 / / if we put 1, then Tick executed the first time. otherwise, only after the first 10 seconds.
..
end;
..
if gGSys ('Tick', tv, 10000) then begin / / 10000 ms = 10 sec.
gPSys ('Ensends', buf); / / send the packet to the server buf (Ensendc - to the client, see below)
end;

gSys ('S3timer' [, time]): int; - 'time' in milliseconds.
- Set / read the timer value to start the third script.
returns the current value of the timer.
'0 'disables the timer.
If
the timer is set to launch third script, third script will be executed
not only in the order of each package, but each 'time' time.
Learn
how you can run the script in the variable '_gS3onTimer' - it returns
'true' ('1 ') if the script has started a timer, or' false '('0') if the
script has started in the order of receiving the package.
Mostly _gS3TimerCount returns counter of the last times the timer has reset the timer.
timer if it is dropped to zero (off) the counter is reset _gS3TimerCount. (_gS3TimerCount Only from WP410F)

Attention! when you turn (do not change, but it is enabled) timer, first timer fires immediately, then after the interval.

_gBuff, in the third script, when you start the timer, or contains '03 00 00 'or nothing.
_gOutBuff, when exiting the third script when running from the timer is ignored.


gSys ('SendC', bf [, len]): int - to send the packet to the client without any coding.
if the packet size is not specified, it will be determined automatically.
gSys ('EnSendC', bf [, len]): int - to send the packet to the client with encryption,
package will be automatically encoded current key, if defined (De / EnCode: Tx), or, if installed PDecode manually.

gSys ('sendS', bf [, len]): int, gSys ('EnSendS', bf [, len]): int-the same as the previous f-tion, but on the server.

Functions
'EnSendC' and 'EnSendS' encode the package, depending on the type of
traffic, if traffic is la2, the encoding method is used 'GSDecode'.

Tion of F-send packets successfully return the number of bytes sent,
or '-1' if the send fails, ie was a mistake.

keys used by automatic decoding:
! When the system is auto-decoding, the keys are installed automatically.
gSys ('Kci'): string - get the key for packets arriving from the client.
gSys ('Kco'): string - a key for outgoing packets to the client.
gSys ('Ksi'): string - get the key for packets arriving from the server.
gSys ('Kso'): string - get the key for packets leaving the server.
gSys ('Kci', string) - set this key. (For the rest, respectively)

gSys ('TrafType' [, val]): int; - type is defined traffic.
- '0, 1 'is not defined, '2' - la2, '3 '.. '14' - reserve.
gSys ('tPDecode' [, val]): int; - the type of de / encoding package (PDecode),
- '-1' Is auto, but not yet defined.
'0 '- No de / encoding is turned off,' -1 '- is unknown, '2' - la2 (GSDecode), '3 '.. '14' - reserve.
gSys ('tParse' [, val]): int; (type _ParsingPackets) - the type of packet parsing.
- '-1' - Is auto-sensing, but not yet defined.
'0 '- No parsing, '1' - 2 bytes size (la2-style), '3 '.. '14' - reserve.
gSys ('isLS' [, val]): int; - a flag that determined LS - Login Server (la2)
- Returns the type of LS server, or 0 if not identified as LS
gSys ('isGS' [, val]): int; - a flag that determined GS - Game Server (la2)
- Returns the type of GS server or 0 if not identified as GS
The variable 'val' sets these values ​​by force. (Critical to change)

gSys ('DecGS', buf, key, KeyType): bool;
- Decodes packet buffer 'buf' Game Server (GS) key 'key' (LA2 ​​- function).
gSys ('EncGS', buf, key, Keytype): bool;
- Encode the buffer package 'buf' Game Server (GS) key 'key' (LA2 ​​- function).
Keys 'key' change in accordance with the rules (de) coding GS LA2 (KeyType).
'Buf' - binary string buffer / packet
'Key' - a binary string with a key size should match the KeyType.
'KeyType' - see 'gSys.tKeyType' in 'FS' section
O-tion returns 1 if worked successfully and -1 if not successful.

gSys ('LSchks', buf [, cs]): bool; (la2 - function)
-
Returns 1 (true) if the package cheksumm 'buf' Login Server (LS) is
similar to that specified in the package, otherwise 0 (false).
! The size of buf must be at least 8, or ignored.
! The package can be, as with the initial two-byte packet size, and without them. Is determined automatically.
If there is an argument 'cs', then it returns cheksummy.
Attention! variable 'cs' should be defined in advance.
for example:
cs: = -1;
gSys ('LSchks', buf, cs);
see an example of using the script 'wpsc \ demo3.sc'

gSys ('ALstart' [, 0/1]): int - for the current session run avtolog (log entry packet) or to stop.
without the second parameter returns the status logerra 0 - off, 1-enabled
(The same button makes manual [on / off] on the panel AL)

gSys ('Killself'); - disconnect, disconnect. (Killed Tridem session)
(Also hand-makes the button [Terminate Link] on the main panel Links Online)
gSys ('Killself', time) - to break the connection, disconnection through the 'time' milliseconds (1000 = 1 second).
I advise to always put a little delay, at least 500 - gSys ('Killself', 500);
Back to top Go down
http://phrack.org
Linuxer13

Linuxer13


Zodiac : Gemini Jumlah posting : 22
Points : 34
REPUTATION : 0
Join date : 2012-02-04
Age : 25
Lokasi : New York

PPC Documentation Empty
PostSubject: Re: PPC Documentation   PPC Documentation EmptyThu Jul 12, 2012 12:08 pm

9.



VI) The functions script language WPS. (Continued)

Attention! WPS engine is obsolete and no longer being updated. Update only the functions FS - engine.
Use only the FS engine (see description below on FS)


crypt function:
Blowfish:
gSys ('BFinit', key): int; - the initialization key BF, key = token
returns 0 if successful, or -1 if error.

gSys ('BFdecb', buf); - BF encoding of an 8-byte buffer.
gSys ('BFencb', buf); - BF decoding of 8-byte buffer.

gSys ('BFdec', buf [, len]); - BF encoding of the buffer (packet)
gSys ('BFenc', buf [, len]); - BF decoding buffer (packet)
-
In these p-tions the size of the buffer (packet) must be divisible by
8, otherwise the latter are not multiples of the bytes will be coded.
Example of use, see the file 'wpsc \ demo3.sc' in the archive.

Base64:
gSys ('EnBase64', buf [, len]): buf; - return 'buf' encoded in Base64.
gSys ('DeBase64', buf [, len]): buf; - returns the decoded 'buf' from Base64
if (de) coding is not successful, returns an empty string''
more about Base64 here: _http :/ / ru.wikipedia.org/wiki/Base64
example:
ob: = gSys ('DeBase64', bi);
if (length (ob) = 0) and (length (bi) <> 0) then Writelog ('Failed to decode Base64');

gSys ('MD5', buf): md5; - Returns a 16 byte MD5 hash or a string buffer 'buf'.
gSys ('SHA1', buf): sha1; - Returns a 20 byte SHA-1 hash or string buffer 'buf'.

gSys ('rnd' [, maxval]): int; (maxval = 0 .. $ FFFFFFFF)
- Returns a random integer X in the range from 0 to maxval.
If the maxval is not specified, we take the maximum value (2 ^ 32)

gSys ('Rndmize'); - initial setting of random numbers to counter the system timer. (Use is optional, is called in each session automatically)


StringList (function, a1 ... a4): retvalue; - list of strings, with the ability to read / write from / to the file (s)
where the 'function':
StringList ('Create'): sl; - to create a TStringList (sl - integer, the class object)
StringList ('Free', sl); - free TStringList
/ / Ip-tion in complete analogy TStringList in DELPHI
StringList ('Clear', sl);
StringList ('Delete', sl, index);
StringList ('Add', sl, string): integer;
StringList ('AddObject', sl, string, integer): integer;
StringList ('Insert', sl, index, string);
StringList ('InsertObject', sl, index, string, integer);
StringList ('LoadFromFile', sl, string);
StringList ('SaveToFile', sl, string);
StringList ('IndexOf', sl, string): integer;
StringList ('IndexOfName', sl, string): integer;
StringList ('IndexOfObject', sl, integer): integer;
StringList ('CommaText', sl [, string]): string;
StringList ('Count', sl): integer;
StringList ('Names', sl, index): string;
StringList ('Objects', sl, index [, integer]): integer;
StringList ('Values', sl, string [, string]): string;
StringList ('Strings', sl, index [, string]): string;
StringList ('Text', sl [, string]): string;
StringList ('Duplicates', sl [, integer]): integer;
StringList ('Sorted', sl [, boolean]): boolean;
StringList ('CaseSensitive', sl [, boolean]): boolean;
StringList ('Sort', sl);
Example (WPS):
sl1: = StringList ('Create'); / / create the class
StringList ('LoadFromFile', sl1, 'c: \ temp \ slf.txt');
val: = StringList ('Values', sl1, 'Lala');
StringList ('Free', sl1); / / - always free.
Back to top Go down
http://phrack.org
Linuxer13

Linuxer13


Zodiac : Gemini Jumlah posting : 22
Points : 34
REPUTATION : 0
Join date : 2012-02-04
Age : 25
Lokasi : New York

PPC Documentation Empty
PostSubject: Re: PPC Documentation   PPC Documentation EmptyThu Jul 12, 2012 12:09 pm

10.

Settings in the file 'WPcfg.ini':

Install WP:
[WP]
autoonlynew = yes - automatic installation of the newly launched boats (ie before running do not touch)
(Value is obsolete and is only present in older versions of WP)
autogmlist = yes - install automatic gmlist'a
(Value is obsolete and is only present in older versions of WP)
autoanchors = yes - automatic installation of anchors
(Value is obsolete and is only present in older versions of WP)
AutoCBuff = yes - automatic installation of c-buff
(Value is obsolete and is only present in older versions of WP)
xxCheckAnchors = yes - also removes a pickup Appretince's Wand to test
(Value is obsolete and is only present in older versions of WP)
useTCheck = no - the choice of a token set of jackdaws token.wp (resets jackdaws)
(Value is obsolete and is only present in older versions of WP)
autol2j = no - install automatic l2j
(Value is obsolete and is only present in older versions of WP)
autoppeoff = no - install automatic PPE-off
(Value is obsolete and is only present in older versions of WP)


set timeouts for the PPC:
[PPC]
FirstPckNumber = 30 - number of first packets to the next variable. from 20 to 300.
FisrtPckTimeout = 60 - a gap if the inactivity of the first batches. seconds. (Time to select a character on the account is excluded)
checked only if the traffic is defined (for example, la2)
if the value is 0 - it is turned off. (When you run two or more clients less than 20 seconds not to)
OnCloseTimeout = 5 - to break in the case of inactivity, after the arrival of a packet from the server LogOutOk. seconds. (2 .. 60c)
If the value is 0 - it is turned off. (Less than 2 seconds to set, or the client does not have time to figure out and come to disconnect)
OnRequestLogOutTimeout = 60 - break in the case of inactivity, when the client sent a request to the server to LogOut. seconds. (25 .. 180c)
If the value is 0 - it is turned off. (Less than 30 seconds, I do not advise)
TotalPacketTimeOut = 900 - if at all, no activity, then the gap. seconds. (900 = 15 minutes)
the minimum value of 600 (10 minutes), maximum 3600 (h)
UndefinedLinkTimeOut = 60 - timeout on inactivity (seconds) for unspecified compounds. 20 .. 300 seconds.
FSCompileQueue
= 1 - a way to compile a script at startup in the compounds, if 1, the
compilation of the main stream in the queue, if 0, then compile scripts
into content streams. It is advisable to leave one.
NoLookUp = 0 - if 1 then every hour will not be made lookup host names via DNS. (Obsolete after wp663 is not used)
recvwait = 500 - in usec (microseconds) waiting time in receiving packets Tridem, 5 .. 5000 us (from 0.005 to 5 ms)
ConnectTO = 15 - in a sec (seconds). timeout when connecting to a remote server (or the Outer Proxy, if used).

disable timeouts do not advise, otherwise the connection will hang waiting to disconnect from the server.

Attention! In addition, there is a custom timeout in the options PPC.
See the 'timeout of inactivity' if greater than zero, it will disconnect on inactivity (cm third post of this topic)

By default, there are optimum values.

Attention! changes and additions in the updated versions of WP, see below.
Back to top Go down
http://phrack.org
[GM]Rossi

[GM]Rossi


Zodiac : Leo Jumlah posting : 70
Points : 105
REPUTATION : 0
Join date : 2012-01-17
Age : 28
Lokasi : Hero City

PPC Documentation Empty
PostSubject: Re: PPC Documentation   PPC Documentation EmptyThu Jul 12, 2012 3:42 pm

Oh GOD...

Im Not A Real Hacker... :puyengs

But :naisinfo :2thumbup :toast2 :sss:

:beers lol!
Back to top Go down
Sponsored content





PPC Documentation Empty
PostSubject: Re: PPC Documentation   PPC Documentation Empty

Back to top Go down
 
PPC Documentation
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
RFONLINE.ACE.ST TALK ABOUT ALL RF ONLINE PRIVATE SERVER :: THE BEST FORUM FOR RF ONLINE FANS :: ALL RF ONLINE CHEAT REVEALED-
Jump to: