Compare commits
5 Commits
b16930b8f4
...
aab338ce17
Author | SHA1 | Date |
---|---|---|
TEC | aab338ce17 | |
TEC | f58858fea7 | |
TEC | 9f2deffb53 | |
TEC | 9da51d0ad3 | |
TEC | 7fb590d527 |
|
@ -35,7 +35,7 @@ end
|
|||
|
||||
function new()
|
||||
function encrypted_xord_ip()
|
||||
ip_str = get(payload()[:REQUEST].headers, "X-Forwarded-For", "0.0.0.0")
|
||||
ip_str = get(Dict(payload()[:REQUEST].headers), "X-Forwarded-For", "0.0.0.0")
|
||||
ip = parse.(UInt8, split(ip_str, '.'))
|
||||
@info "client ip: $ip"
|
||||
xor(reinterpret(UInt32, Genie.Encryption.encrypt(rand(UInt8, 4)) |> hex2bytes)...)
|
||||
|
|
Loading…
Reference in New Issue