Created
September 2, 2014 05:08
-
-
Save t2psyto/99d2f7b48238894ddf2a to your computer and use it in GitHub Desktop.
desknets neo logon token
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# id, password | |
> set dneo_user=userid | |
> set dneo_passwd=password | |
# ログイン トークンを取得 | |
> curl -F cmd=certify -F nexturl=dneo.exe%3Fcmd%3Dlogin -F svuid= -F starttab=1 -F UserID=%dneo_user% -F _word=%dneo_passwd% http://dneo/scripts/dneo/dneor.exe | |
{"status":"ok","rssid":"sidsidsidsidsidisd","STOKEN":"tokentoketokentoketoken","Name":"--------","id":"99","Group":"00","Mail":"hogehoge@example.com","UserID":"userid"} | |
# ログイン セッション用の cookie 生成 | |
> set cookie="Cookie: dnzPtab=S; dnzHashcmd=fin; dnzSid=sidsidsidsidsid; dnzToken=tokentoketokentoketoken; dnzSv=; dnzInfo=99;" | |
# ログイン直後のページを取得 | |
> curl -H "%cookie% http://dneo/scripts/dneo/dneo.exe\?cmd=login | |
# 伝言・所在を取得 | |
> set post_data="row=0&fldsort=SEQNO&order=1&num=50&gid=all&memonum=50&cmd=memowhereindex&tokentokentokentokentoken=1" | |
> curl -H "%cookie%" -data "%post_data%" http://dneo/scripts/dneo/dneor.exe\?cmd=memoindex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment