Obsah fóra
PravidláRegistrovaťPrihlásenie




Odpovedať na tému [ Príspevok: 1 ] 
AutorSpráva
Offline

Užívateľ
Užívateľ
Obrázok užívateľa

Registrovaný: 05.03.07
Prihlásený: 09.11.17
Príspevky: 69
Témy: 12
Bydlisko: KE, HE
Príspevok NapísalOffline : 27.06.2011 23:31

ahoj, vedel by mi niekto poradit? mam aplikaciu s ktorou sa pripojim na server a neviem ako sa mam prihlasit na server a v spravnom "tvare" odosielat data

Princip prihlasenia na server je tu v PERL, ale to nemam ani sajnu
http://outflux.net/software/bf1942-console

Kód:
# Post-authentication Client/Server communication is done via blocks of
# data.  Each data block starts with the number of strings contained in
# the block, then each string, null terminated, with a 4-byte size sent
# before the string.  Each 4-byte "length" is sent in unsigned long
# little-endian order.
#
# Bytes                  Meaning
# 1 2 3 4                Number of strings in this block
# 5 6 7 8                Size of string #1
# 9 ...                  String #1, with trailing NULL
# ...                    Size of string #2
# ...                    String #2, with trailing NULL
#


# Initial authentication is done via simple XOR'ing.  The server sends 10
# bytes, and the client XORs the authentication information against those
# 10 bytes (and re-uses them again for each of the 10 bytes it sends to
# the server).
#
# Server->Client:  10 bytes: XOR pattern to use
# Client->Server:  4 bytes: length of user name (including the trailing NULL)
# Client->Server:  X bytes: user (index-XOR'd, with trailing NULL)
#          for example, if the user name was 15 "0x10" values,
#          and the XOR pattern was the byte values from
#          0x00-0x09, the resulting "encrypted" user name
#          would be in hex:
#          10,11,12,13,14,15,16,17,18,19,10,11,12,13,14,0
# Client->Server:  4 bytes: length of password (including the trailing NULL)
# Client->Server:  X bytes: password, XOR'd like the username, with final NULL
# Server->Client:  1 byte.  (value of "1" means authenticated)
#
# To start console communication, the client seems to send something that
# almost matches the description of "Post-Authentication" communication,
# but the count of strings is wrong.  Where "OFFSET" is the server instance
# to talk to (0 being first, 1 for the next server on the same IP, etc) it
# sends:
#
# 4 byte block length: 2
# NULL-terminated string: ConsoleRun OFFSET
# 4 byte block length: 2
# empty NULL-terminated string
# empty NULL-terminated string
#
# and then it reads back a regular block from the server, and then "normal"
# block-at-a-time communication starts up.







_________________
SELECT noob FROM pc_forum ORDER BY rank
Odpovedať na tému [ Príspevok: 1 ] 


Podobné témy

 Témy  Odpovede  Zobrazenia  Posledný príspevok 
V tomto fóre nie sú ďalšie neprečítané témy. Prihlásenie do konta na Server 2012 Standard R2

v Operačné systémy Microsoft

5

679

11.06.2014 22:20

worisnet Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. server housing, webhosting, herny server, virtualny server.....

v Predám

0

634

25.09.2016 1:42

face159 Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. Linux server vs NAS server vs Windows server

v Operačné systémy Unix a Linux

16

1003

13.11.2017 21:57

Googler1 Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. MS WIN 2003 Server Web edition & Print server

v Operačné systémy Microsoft

1

672

01.06.2008 23:11

Seto Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. Web server pripojený k netu cez iný server

v Sieťové a internetové programy

1

644

31.12.2008 12:36

JanoF Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. Free VPS server - najlepsie s windows server

v Webhosting a servery

4

779

06.08.2013 22:58

majky358 Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. Server pripojený na internet cez VPN server

v Služby a webstránky

0

575

13.01.2017 21:26

kumaSK Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. Remote desktop server + VPN server

v Poskytovatelia internetu

3

315

21.10.2020 1:50

michalesku Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. Lacny vps server - win server

v Webhosting a servery

7

918

13.05.2013 20:22

Dadko Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. prihlasenie

v Operačné systémy Microsoft

3

773

20.01.2006 8:12

michal.h Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. Prihlasenie

v Redakčné systémy

4

608

29.11.2007 16:23

pleso Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. prihlasenie

v Databázy

1

913

28.07.2007 15:09

eiger33 Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. prihlasenie

v PHP, ASP

4

671

19.04.2011 18:14

Gropi Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. Prihlasenie

v Redakčné systémy

5

547

12.02.2007 8:46

mokus Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. prihlasenie

v PHP, ASP

1

317

17.02.2014 21:57

BX Zobrazenie posledných príspevkov

V tomto fóre nie sú ďalšie neprečítané témy. Prihlásenie

v PHP, ASP

21

959

08.03.2011 23:26

walther Zobrazenie posledných príspevkov


Nemôžete zakladať nové témy v tomto fóre
Nemôžete odpovedať na témy v tomto fóre
Nemôžete upravovať svoje príspevky v tomto fóre
Nemôžete mazať svoje príspevky v tomto fóre

Skočiť na:  

Powered by phpBB Jarvis © 2005 - 2024 PCforum, webhosting by WebSupport, secured by GeoTrust, edited by JanoF
Ako väčšina webových stránok aj my používame cookies. Zotrvaním na webovej stránke súhlasíte, že ich môžeme používať.
Všeobecné podmienky, spracovanie osobných údajov a pravidlá fóra