plesk_kit 2.0.6 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/models/plesk_kit/subscription.rb +3 -1
- data/lib/plesk_kit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTE4NDMzOTNmYWM1M2Y2ZjAzNzlkYjI0NjRiZmI2MDNlNTIwMGEwZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NjA2YTA5NTFhYjVlNzY1OWY1M2ZjNDRjYjFiMTk4NDRhMjQwNjI3Nw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzczY2NlZDJmNmYyNjYzMDA5NWMzY2Y1NzllNjYxMjc0ZTY2NGFjOTg3MzNk
|
10
|
+
YWU1Y2VkYTA5YTAyNmZhYTRmYzc5MmM2ZDk0MGViYTMzNDcyYTcxYTZlMzI3
|
11
|
+
N2U3NjU3ZDc0YjgxYTBkMjhiMDg0NWMxMTU0OGU4NDU1NTMyMDE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGZiM2ZiM2I2YjBkMzNlYzg4MGI3MTUyZjlmNWEwNTBlZGFkNDM3NDUyODZk
|
14
|
+
YmVhYjE5MTA2MjhlZGJkOGY0OWMwNjgzNTBjYzc4OTkwMDU2Y2NiMDhiZTYy
|
15
|
+
ZTI1MmQzOTg2MzAzOTYzMWJjZWYyZjJiOWM5MTIxY2FjY2U0ZjY=
|
@@ -48,6 +48,8 @@ module PleskKit
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def pack_this shell, customer
|
51
|
+
digits = customer.login.to_s.split('')
|
52
|
+
xx = ''
|
51
53
|
xml = shell
|
52
54
|
xml.instruct!
|
53
55
|
xml.packet(:version => '1.6.3.5') {
|
@@ -62,7 +64,7 @@ module PleskKit
|
|
62
64
|
xml.vrt_hst{
|
63
65
|
xml.property{
|
64
66
|
xml.name('ftp_login')
|
65
|
-
xml.value("#{
|
67
|
+
xml.value("#{digits.each {|d|xx << (d.to_i + 65).chr}}") #rand(36**8).to_s(36)
|
66
68
|
}
|
67
69
|
xml.property{
|
68
70
|
xml.name('ftp_password')
|
data/lib/plesk_kit/version.rb
CHANGED