mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-15 19:33:59 +03:00
Enabled Anonymous access to FTP daemon, RETR command now ignores first '/'.
git-svn-id: svn://kolibrios.org@2958 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
85a661d4e9
commit
df4d790daf
@ -8,7 +8,8 @@
|
||||
|
||||
|
||||
[anonymous]
|
||||
pass= ; leavy empty for none
|
||||
; leavy pass empty to disable it
|
||||
pass=
|
||||
home=/rd/1/
|
||||
mode=3
|
||||
|
||||
|
@ -652,8 +652,8 @@ cmdPASS:
|
||||
jnz .incorrect
|
||||
cmp dword [edi], -1 ; no key, section or file found.. fail!
|
||||
je .incorrect
|
||||
;;; cmp byte [edi], 0 ; zero password? ok!
|
||||
;;; je .ok
|
||||
cmp byte [edi], 0 ; zero password? ok!
|
||||
je .ok
|
||||
|
||||
add esi, 5
|
||||
sub ecx, 5
|
||||
@ -904,6 +904,9 @@ cmdRETR:
|
||||
dec edi
|
||||
lea esi, [ebp + thread_data.buffer + 5]
|
||||
mov ecx, 1024
|
||||
cmp byte [esi], '/'
|
||||
jne .loop
|
||||
inc esi
|
||||
.loop:
|
||||
lodsb
|
||||
cmp al, 0x20
|
||||
|
@ -8,7 +8,8 @@
|
||||
|
||||
|
||||
[anonymous]
|
||||
pass= ; leavy empty for none
|
||||
; leavy pass empty to disable it
|
||||
pass=
|
||||
home=/rd/1/
|
||||
mode=3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user