mirror of
https://git.ugnet.gay/CrossTalk/azul.git
synced 2026-11-25 08:40:05 +00:00
0.6 final
This commit is contained in:
1 parent
7c0581eb97
commit
b89e1932bb
160 files changed
+20534
-4664
No files matched your search
+268
-368
File diff suppressed because it is too large.
Load diff
@@ -5,8 +5,8 @@
|
||||
"category_id": 102,
|
||||
"name": "Nine Men's Morris",
|
||||
"description": "A 9 pieces Tic-Tac-Toe spin-off. Originally developed by Doron for games.mess.be",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/morris/index.en-us.html",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/morris/imgs/icon.png",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/morris/index.en-us.html",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/morris/imgs/icon.png",
|
||||
"type": "dir",
|
||||
"height": 500,
|
||||
"width": 500,
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
"category_id": 102,
|
||||
"name": "Nine Men's Morris",
|
||||
"description": "A 9 pieces Tic-Tac-Toe spin-off (Hebrew). Originally developed by Doron for games.mess.be",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/morris/index.he-il.html",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/morris/imgs/icon.png",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/morris/index.he-il.html",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/morris/imgs/icon.png",
|
||||
"type": "dir",
|
||||
"height": 500,
|
||||
"width": 500,
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
"category_id": 102,
|
||||
"name": "Backgammon",
|
||||
"description": "The game of luck and skill. Originally developed by Koen for games.mess.be",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/backgammon/backgammon.htm",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/backgammon/images/icon.png",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/backgammon/backgammon.htm",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/backgammon/images/icon.png",
|
||||
"type": "dir",
|
||||
"height": 500,
|
||||
"width": 500,
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
"category_id": 102,
|
||||
"name": "Battleships",
|
||||
"description": "Sink your opponent's fleet. Originally developed by Koen for games.mess.be",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/battleships/battleships.htm",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/battleships/images/icon.png",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/battleships/battleships.htm",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/battleships/images/icon.png",
|
||||
"type": "dir",
|
||||
"height": 500,
|
||||
"width": 500,
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
"category_id": 102,
|
||||
"name": "Chess",
|
||||
"description": "The king's game. Originally developed by Koen for games.mess.be",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/chess/chess.htm",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/chess/images/icon.png",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/chess/chess.htm",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/chess/images/icon.png",
|
||||
"type": "dir",
|
||||
"height": 500,
|
||||
"width": 500,
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
"category_id": 102,
|
||||
"name": "Connect 4",
|
||||
"description": "Four in a row. Originally developed by Koen for games.mess.be",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/connect4/connect4.htm",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/connect4/images/icon.png",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/connect4/connect4.htm",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/connect4/images/icon.png",
|
||||
"type": "dir",
|
||||
"height": 500,
|
||||
"width": 500,
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
"category_id": 102,
|
||||
"name": "Memory",
|
||||
"description": "Find the matching pairs. Originally developed by Koen for games.mess.be",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/memory/memory.htm",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/memory/images/icon.png",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/memory/memory.htm",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/memory/images/icon.png",
|
||||
"type": "dir",
|
||||
"height": 500,
|
||||
"width": 500,
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
"category_id": 102,
|
||||
"name": "Reversi",
|
||||
"description": "Also known as Othello. Originally developed by Koen for games.mess.be",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/reversi/reversi.htm",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/reversi/images/icon.png",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/reversi/reversi.htm",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/reversi/images/icon.png",
|
||||
"type": "dir",
|
||||
"height": 500,
|
||||
"width": 500,
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
"category_id": 102,
|
||||
"name": "Tetris",
|
||||
"description": "The simple, highly addictive, real-time puzzle game. Originally developed by Koen for games.mess.be",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/tetris/tetris.htm",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/tetris/images/icon.png",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/tetris/tetris.htm",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/tetris/images/icon.png",
|
||||
"type": "dir",
|
||||
"height": 500,
|
||||
"width": 500,
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
"category_id": 102,
|
||||
"name": "Yahtzee",
|
||||
"description": "The famous dice game. Originally developed by Koen of games.mess.be",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/yahtzee/yahtzee.htm",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/messbe/yahtzee/images/icon.png",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/yahtzee/yahtzee.htm",
|
||||
"icon_url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/messbe/yahtzee/images/icon.png",
|
||||
"type": "dir",
|
||||
"height": 500,
|
||||
"width": 500,
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"category_id": 101,
|
||||
"name": "Tic Tac Toe",
|
||||
"description": "Play against your friends in a game of Tic Tac Toe. Originally developed by Microsoft.",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.gay/static/app-data/tic-tac-toe/tictactoe.htm",
|
||||
"url": "http://mactivities.msgrsvcs.ctsrv.xyz/static/app-data/tic-tac-toe/tictactoe.htm",
|
||||
"icon_url": null,
|
||||
"type": "dir",
|
||||
"height": 500,
|
||||
|
||||
+314
-313
@@ -1,4 +1,4 @@
|
||||
from typing import Optional, Any, Tuple
|
||||
from typing import Optional, Any, Tuple, Literal, List, Dict
|
||||
from datetime import datetime, timedelta
|
||||
from io import BytesIO
|
||||
from email.parser import Parser
|
||||
@@ -6,21 +6,23 @@ from email.header import decode_header
|
||||
from email.utils import parsedate_to_datetime
|
||||
from urllib.parse import unquote, parse_qsl
|
||||
from pathlib import Path
|
||||
import re, secrets, base64, random, json, mimetypes, uuid, PyRSS2Gen, settings, util.misc
|
||||
import asyncio, re, secrets, base64, random, json, mimetypes, uuid, PyRSS2Gen, settings, util.misc
|
||||
from markupsafe import Markup
|
||||
from aiohttp import web
|
||||
|
||||
|
||||
from core import models
|
||||
from core.user import beacon_enabled
|
||||
from core.backend import Backend, BackendSession
|
||||
from util.avatar import get_img_type, find_avatar_file
|
||||
from ..misc import gen_mail_data, format_oim, cid_format, puid_format
|
||||
from util.avatar import get_img_type, store_photo_file, get_photo_data
|
||||
from ..misc import gen_mail_data, format_oim, cid_format, puid_format, encode_xml_ne
|
||||
from .util import find_element, get_tag_localname, render, preprocess_soap, unknown_soap, bool_to_str
|
||||
|
||||
LOGIN_PATH = '/login.srf'
|
||||
|
||||
LOGIN_PATH = '/login2.srf'
|
||||
TMPL_DIR = 'front/msn/http/tmpl'
|
||||
ETC_DIR = 'front/msn/etc'
|
||||
PP = 'Passport1.4'
|
||||
|
||||
PHOTO_MAX_SIZE = 10 * 1024 * 1024
|
||||
|
||||
def register(app: web.Application) -> None:
|
||||
util.misc.add_to_jinja_env(app, 'msn', TMPL_DIR, globals = {
|
||||
'date_format': util.misc.date_format,
|
||||
@@ -29,6 +31,7 @@ def register(app: web.Application) -> None:
|
||||
'bool_to_str': bool_to_str,
|
||||
'contact_is_favorite': _contact_is_favorite,
|
||||
'datetime': datetime,
|
||||
'settings': settings
|
||||
})
|
||||
|
||||
# MSN >= 5
|
||||
@@ -57,242 +60,73 @@ def register(app: web.Application) -> None:
|
||||
app.router.add_post('/RST2.srf', lambda req: handle_rst(req, rst2 = True))
|
||||
|
||||
# MSN >= 8
|
||||
app.router.add_post('/storageservice/SchematizedStore.asmx', handle_storageservice)
|
||||
app.router.add_post('/ppsecure/sha1auth.srf', handle_sha1auth)
|
||||
app.router.add_post('/rsi/rsi.asmx', handle_rsi)
|
||||
app.router.add_post('/OimWS/oim.asmx', handle_oim)
|
||||
app.router.add_get('/svcs/msn-video-feeds/', handle_videofeed)
|
||||
app.router.add_get('/svcs/feed', lambda req: handle_videofeed(req, get_videos = True))
|
||||
|
||||
|
||||
# MSN >= 14
|
||||
app.router.add_post('/whatsnew/whatsnewservice.asmx', handle_whatsnew)
|
||||
app.router.add_get('/svcs/tab={id}', handle_tabs_newer)
|
||||
|
||||
|
||||
# MSN >= 15
|
||||
app.router.add_post('/sqm/messenger/sqmserver.dll', handle_blankok)
|
||||
app.router.add_post('/sqm/WindowsLive/sqmserver.dll', handle_blankok)
|
||||
app.router.add_post('/uploaddata.aspx', handle_blankok)
|
||||
app.router.add_get('/ppcrlcheck.srf', handle_ppcrlcheck)
|
||||
app.router.add_post('/profile/profile.asmx', handle_blankok) # TODO: do the thing
|
||||
app.router.add_post('/profile/profile.asmx', handle_profile)
|
||||
app.router.add_get(r'/~Live.ConfigServer/{junk:.*}/~op-GetClientConfig/{tail:.*}', handle_msgrconfig16)
|
||||
app.router.add_get(r'/~Live.ConfigServer.SuiteUpdate/{tail:.*}', handle_suiteupdate)
|
||||
app.router.add_get(r'/~Live.ConfigServer.PSA/{tail:.*}', handle_socialint)
|
||||
app.router.add_get('/svcs/GameBrowser', handle_gamebrowser)
|
||||
|
||||
app.router.add_post('/Users({cid})/Status', handle_user_status)
|
||||
app.router.add_post('/Users({cid})/files/{folder}', handle_user_files)
|
||||
app.router.add_get('/photos/{uuid}/{name}', handle_photo)
|
||||
|
||||
# Misc
|
||||
app.router.add_get('/{i}meen_{locale}/{id}', handle_msn_redirect)
|
||||
|
||||
|
||||
async def handle_blankok(req: web.Request) -> web.Response:
|
||||
return web.Response(status = 200)
|
||||
|
||||
async def handle_storageservice(req: web.Request) -> web.Response:
|
||||
|
||||
async def handle_profile(req: web.Request) -> web.Response:
|
||||
backend = req.app['backend']
|
||||
header, action, bs, token = await preprocess_soap(req)
|
||||
assert bs is not None
|
||||
soapaction = (req.headers.get('SOAPAction') or '')
|
||||
if soapaction.startswith('"') and soapaction.endswith('"'):
|
||||
soapaction = soapaction[1:-1]
|
||||
storage_ns = ('w10' if soapaction.startswith('http://www.msn.com/webservices/storage/w10/') else '2008')
|
||||
header, action, bs, token = await preprocess_soap(req) # was missing entirely
|
||||
user = _get_user_from_token(backend, bs, token)
|
||||
if user is None:
|
||||
raise web.HTTPInternalServerError()
|
||||
|
||||
action_str = get_tag_localname(action)
|
||||
now_str = util.misc.date_format(datetime.utcnow())
|
||||
user = bs.user
|
||||
cachekey = secrets.token_urlsafe(172)
|
||||
|
||||
cid = cid_format(user.uuid)
|
||||
|
||||
if action_str == 'GetProfile':
|
||||
roaming_info = backend.user_service.get_roaming_info(user)
|
||||
assert roaming_info is not None
|
||||
|
||||
# Resolve the active avatar using the md5 stored in users.avatar.
|
||||
# find_avatar_file returns None if no avatar has been uploaded yet.
|
||||
avatar_md5 = user.avatar
|
||||
mime = None
|
||||
image_size = 0
|
||||
image_thumb_size = 0
|
||||
if action_str in ('Get', 'GetMany'):
|
||||
heads = { cid_format(head.uuid, decimal = True): head for head in [user] + [ctc.head for ctc in backend._load_detail(user).contacts.values()] }
|
||||
if action_str == 'Get':
|
||||
requested = [(heads.get(str(find_element(action, 'V1'))) or user, str(find_element(action, 'V2')))]
|
||||
else:
|
||||
requested = [(heads[str(v1)], None) for v1 in action.findall('.//{*}ProfileId/{*}V1') if str(v1) in heads]
|
||||
|
||||
if avatar_md5:
|
||||
full_file = find_avatar_file(user.uuid, avatar_md5, small=False)
|
||||
thumb_file = find_avatar_file(user.uuid, avatar_md5, small=True)
|
||||
profiles = [] # type: List[Dict[str, Any]]
|
||||
for head, puid in requested:
|
||||
roaming_info = backend.user_service.get_roaming_info(head)
|
||||
if roaming_info is None: continue
|
||||
profiles.append({ 'user': head, 'cid': cid_format(head.uuid), 'puid': puid, 'roaming_info': roaming_info })
|
||||
if not profiles and action_str == 'Get':
|
||||
raise web.HTTPInternalServerError()
|
||||
|
||||
if full_file and full_file.is_file():
|
||||
ext = full_file.suffix.lstrip('.').lower()
|
||||
mime = ext
|
||||
image_size = full_file.stat().st_size
|
||||
|
||||
if thumb_file and thumb_file.is_file():
|
||||
image_thumb_size = thumb_file.stat().st_size
|
||||
|
||||
return render(req, 'msn:storageservice/GetProfileResponse.xml', {
|
||||
'storage_ns': storage_ns,
|
||||
return render(req, 'msn:profile/ProfileResponse.xml', {
|
||||
'action': action_str,
|
||||
'profiles': profiles,
|
||||
'cachekey': cachekey,
|
||||
'cid': cid,
|
||||
'pptoken1': token,
|
||||
'user': user,
|
||||
'now': now_str,
|
||||
'mime': mime,
|
||||
'size_static': image_size,
|
||||
'size_small': image_thumb_size,
|
||||
'roaming_info': roaming_info,
|
||||
'host': settings.USERSTORAGE_HOST,
|
||||
})
|
||||
if action_str == 'FindDocuments':
|
||||
# TODO: FindDocuments
|
||||
return render(req, 'msn:storageservice/FindDocumentsResponse.xml', {
|
||||
'storage_ns': storage_ns,
|
||||
'cachekey': cachekey,
|
||||
'cid': cid,
|
||||
'pptoken1': token,
|
||||
'user': user,
|
||||
})
|
||||
if action_str == 'UpdateProfile':
|
||||
delete_psm = False
|
||||
delete_name = False
|
||||
delete_avatar = False
|
||||
|
||||
# TODO: More properties?
|
||||
|
||||
# Update to roaming name/message
|
||||
# ```
|
||||
# <UpdateProfile xmlns="http://www.msn.com/webservices/storage/w10">
|
||||
# <profile>
|
||||
# <ResourceID>862d987eb60b7a63!106</ResourceID>
|
||||
# <ExpressionProfile>
|
||||
# <FreeText>Update</FreeText>
|
||||
# <DisplayName>Society is betrayal</DisplayName>
|
||||
# <PersonalStatus>Prosperity is the best medicine. :)</PersonalStatus>
|
||||
# </ExpressionProfile>
|
||||
# </profile>
|
||||
# </UpdateProfile>
|
||||
# ```
|
||||
|
||||
# Remove roaming message
|
||||
# ```
|
||||
# <UpdateProfile xmlns="http://www.msn.com/webservices/storage/w10">
|
||||
# <profile>
|
||||
# <ResourceID>bb4542ce2eacdbde!106</ResourceID>
|
||||
# <ExpressionProfile>
|
||||
# <FreeText>Update</FreeText>
|
||||
# <DisplayName>%walkingphas3r%</DisplayName>
|
||||
# <Flags>0</Flags>
|
||||
# </ExpressionProfile>
|
||||
# </profile>
|
||||
# <profileAttributesToDelete>
|
||||
# <ExpressionProfileAttributes>
|
||||
# <PersonalStatus>true</PersonalStatus>
|
||||
# </ExpressionProfileAttributes>
|
||||
# </profileAttributesToDelete>
|
||||
# </UpdateProfile>
|
||||
# ```
|
||||
|
||||
expression_profile = find_element(action, 'ExpressionProfile')
|
||||
name = find_element(expression_profile, 'DisplayName')
|
||||
message = find_element(expression_profile, 'PersonalStatus')
|
||||
|
||||
attributes_to_delete = find_element(action, 'profileAttributesToDelete/ExpressionProfileAttributes')
|
||||
if attributes_to_delete is not None:
|
||||
# `PersonalStatus` and `DisplayName` is the only known attribute that has the ability to be deleted
|
||||
delete_psm = find_element(attributes_to_delete, 'PersonalStatus') or False
|
||||
assert isinstance(delete_psm, bool)
|
||||
delete_name = find_element(attributes_to_delete, 'DisplayName') or False
|
||||
assert isinstance(delete_name, bool)
|
||||
|
||||
name = find_element(action, 'DisplayName')
|
||||
message = find_element(action, 'PersonalStatus')
|
||||
|
||||
if name:
|
||||
backend.user_service.save_single_roaming(user, { 'name': name })
|
||||
if message and not delete_psm:
|
||||
backend.user_service.save_single_roaming(user, { 'message': message })
|
||||
|
||||
if delete_psm:
|
||||
backend.user_service.save_single_roaming(user, { 'message': '' })
|
||||
if delete_name:
|
||||
backend.user_service.save_single_roaming(user, { 'name': '' })
|
||||
|
||||
return render(req, 'msn:storageservice/UpdateProfileResponse.xml', {
|
||||
'storage_ns': storage_ns,
|
||||
'cachekey': cachekey,
|
||||
'cid': cid,
|
||||
'pptoken1': token,
|
||||
'user': user
|
||||
})
|
||||
if action_str == 'DeleteRelationships':
|
||||
# TODO: DeleteRelationships
|
||||
return render(req, 'msn:storageservice/DeleteRelationshipsResponse.xml', {
|
||||
'storage_ns': storage_ns,
|
||||
'cachekey': cachekey,
|
||||
'cid': cid,
|
||||
'pptoken1': token,
|
||||
'user': user,
|
||||
})
|
||||
if action_str in ('CreateDocument', 'UpdateDocument'):
|
||||
op = 'Update' if action_str == 'UpdateDocument' else 'Create'
|
||||
return handle_document(req, action, op, storage_ns, user, cid, token, backend)
|
||||
if action_str == 'CreateRelationships':
|
||||
# TODO: CreateRelationships
|
||||
return render(req, 'msn:storageservice/CreateRelationshipsResponse.xml', {
|
||||
'storage_ns': storage_ns,
|
||||
'cachekey': cachekey,
|
||||
'cid': cid,
|
||||
'pptoken1': token,
|
||||
'user': user,
|
||||
})
|
||||
if action_str in { 'ShareItem' }:
|
||||
# TODO: ShareItem
|
||||
return unknown_soap(req, header, action, expected = True)
|
||||
|
||||
return unknown_soap(req, header, action)
|
||||
|
||||
|
||||
def handle_document(
|
||||
req: web.Request,
|
||||
action: Any,
|
||||
op_type: str, # 'Create' or 'Update'
|
||||
storage_ns: str,
|
||||
user: models.User,
|
||||
cid: str,
|
||||
token: str,
|
||||
backend: Backend,
|
||||
) -> web.Response:
|
||||
streamtype = find_element(action, 'DocumentStreamType')
|
||||
|
||||
if streamtype == 'UserTileStatic':
|
||||
raw_b64 = find_element(action, 'Data')
|
||||
if raw_b64:
|
||||
try:
|
||||
data = base64.b64decode(raw_b64)
|
||||
except Exception:
|
||||
return web.HTTPInternalServerError(text='')
|
||||
|
||||
err = _store_avatar_from_bytes(backend, user, data)
|
||||
if err is not None:
|
||||
return err
|
||||
|
||||
return render(req, 'msn:storageservice/{}DocumentResponse.xml'.format(op_type), {
|
||||
'storage_ns': storage_ns,
|
||||
'cid': cid,
|
||||
'pptoken1': token,
|
||||
'user': user,
|
||||
})
|
||||
|
||||
|
||||
def _store_avatar_from_bytes(
|
||||
backend: Backend,
|
||||
user: models.User,
|
||||
data: bytes,
|
||||
) -> Optional[web.Response]:
|
||||
ext = get_img_type(data)
|
||||
if ext is None:
|
||||
return web.HTTPInternalServerError(text='AZUL: Unsupported image format')
|
||||
|
||||
try:
|
||||
backend.user_service.save_avatar(user, data, ext)
|
||||
except Exception:
|
||||
return web.HTTPInternalServerError(text='')
|
||||
|
||||
return None
|
||||
|
||||
|
||||
|
||||
async def handle_sha1auth(req: web.Request) -> web.Response:
|
||||
post = await req.post()
|
||||
|
||||
@@ -305,11 +139,11 @@ async def handle_sha1auth(req: web.Request) -> web.Response:
|
||||
return web.HTTPInternalServerError()
|
||||
|
||||
return web.HTTPFound(token_fields['ru'])
|
||||
|
||||
|
||||
async def handle_ppcrlcheck(req: web.Request) -> web.Response:
|
||||
response = '<config>\r\n\t<deviceid minversion="16.000.26889.00"/>\r\n\t<mobilecfg minversion="16.000.26208.0"/>\r\n</config>'
|
||||
return web.HTTPOk(body=response)
|
||||
|
||||
|
||||
async def handle_rsi(req: web.Request) -> web.Response:
|
||||
_, action, bs, token = await preprocess_soap_rsi(req)
|
||||
|
||||
@@ -345,7 +179,7 @@ async def handle_rsi(req: web.Request) -> web.Response:
|
||||
return render(req, 'msn:oim/DeleteMessagesResponse.xml')
|
||||
|
||||
return render(req, 'msn:Fault.doesnotexist.xml', { 'action': action_str })
|
||||
|
||||
|
||||
async def handle_oim(req: web.Request) -> web.Response:
|
||||
header, _, body_content, bs, _ = await preprocess_soap_oimws(req)
|
||||
soapaction = (req.headers.get('SOAPAction') or '')
|
||||
@@ -472,6 +306,20 @@ async def handle_oim(req: web.Request) -> web.Response:
|
||||
}, status = 500)
|
||||
oim_body_normal = oim_body.strip()
|
||||
oim_body_normal = base64.b64decode(oim_body_normal).decode('utf-8')
|
||||
if len(oim_body_normal.encode('utf-8')) > OIM_MAX_SIZE:
|
||||
return render(req, 'msn:oim/Fault.messagetoolarge.xml', {
|
||||
'owsns': owsns,
|
||||
}, status = 500)
|
||||
|
||||
# An offline message is a message like any other: over the sender's rate (or at the maximum warning level) it's
|
||||
# refused, and its recipient may warn (vote) its sender for it
|
||||
if not backend.util_message_allowed(user, models.MessageData(sender = user, type = models.MessageType.Chat, text = oim_body_normal)):
|
||||
return render(req, 'msn:oim/Fault.throttle.xml', {
|
||||
'owsns': owsns,
|
||||
}, status = 500)
|
||||
recipient_user = backend._load_user_record(recipient_uuid)
|
||||
if recipient_user is not None:
|
||||
backend.abuse.track_message(user, recipient_user)
|
||||
|
||||
backend.user_service.save_oim(
|
||||
bs, recipient_uuid, oim_run_id, host, oim_body_normal, True, from_friendly = friendlyname_str,
|
||||
@@ -486,6 +334,8 @@ async def handle_oim(req: web.Request) -> web.Response:
|
||||
'seq': oim_msg_seq,
|
||||
'owsns': owsns,
|
||||
})
|
||||
|
||||
OIM_MAX_SIZE = 64 * 1024
|
||||
|
||||
def _is_on_al(uuid: str, backend: Backend, user: models.User, detail: models.UserDetail) -> bool:
|
||||
contact = detail.contacts.get(uuid)
|
||||
@@ -504,7 +354,7 @@ def _is_on_al(uuid: str, backend: Backend, user: models.User, detail: models.Use
|
||||
if ctc_me is not None and not ctc_me.lists & models.ContactList.BL:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
async def preprocess_soap_rsi(req: web.Request) -> Tuple[Any, Any, Optional[BackendSession], str]:
|
||||
from lxml.objectify import fromstring as parse_xml
|
||||
|
||||
@@ -526,7 +376,7 @@ async def preprocess_soap_rsi(req: web.Request) -> Tuple[Any, Any, Optional[Back
|
||||
#if settings.DEBUG: print('Action: {}'.format(get_tag_localname(action)))
|
||||
|
||||
return header, action, bs, token
|
||||
|
||||
|
||||
async def preprocess_soap_oimws(req: web.Request) -> Tuple[Any, str, str, Optional[BackendSession], str]:
|
||||
from lxml.objectify import fromstring as parse_xml
|
||||
|
||||
@@ -545,28 +395,175 @@ async def preprocess_soap_oimws(req: web.Request) -> Tuple[Any, str, str, Option
|
||||
body_content = str(find_element(root, 'Body/Content')).replace('\r\n', '\n')
|
||||
|
||||
return header, body_msgtype, body_content, bs, token
|
||||
|
||||
# TODO: Make this actually accurate
|
||||
|
||||
async def handle_whatsnew(req: web.Request) -> web.Response:
|
||||
whatsnew = ''
|
||||
with open('config/whatsnew.json', 'rb') as f:
|
||||
whatsnew_list = json.loads(f.read())
|
||||
f.close()
|
||||
|
||||
if len(whatsnew_list) > 0:
|
||||
whatsnew_dict = whatsnew_list[0]
|
||||
with open(TMPL_DIR + '/whatsnew/WhatsNewResponse.xml') as fh:
|
||||
whatsnew = fh.read()
|
||||
whatsnew = whatsnew.format(
|
||||
date=whatsnew_dict['date'],
|
||||
url=whatsnew_dict['url'],
|
||||
title=whatsnew_dict['title'],
|
||||
appName=whatsnew_dict['appName'],
|
||||
content=whatsnew_dict['content']
|
||||
)
|
||||
|
||||
return web.HTTPOk(content_type = 'text/xml', text = whatsnew)
|
||||
backend: Backend = req.app['backend']
|
||||
header, action, bs, token = await preprocess_soap(req)
|
||||
user = _get_user_from_token(backend, bs, token)
|
||||
if user is None:
|
||||
raise web.HTTPInternalServerError()
|
||||
|
||||
action_str = get_tag_localname(action)
|
||||
if action_str not in ('GetContactsRecentActivity', 'GetBatchRecentActivity'):
|
||||
return unknown_soap(req, header, action)
|
||||
|
||||
detail = backend._load_detail(user)
|
||||
if action_str == 'GetContactsRecentActivity':
|
||||
# The user's own activities, their contacts' and service announcements
|
||||
publishers = [user] + [
|
||||
ctc.head for ctc in detail.contacts.values() if ctc.lists & models.ContactList.FL and not ctc.lists & models.ContactList.BL
|
||||
]
|
||||
if not beacon_enabled(user):
|
||||
publishers = []
|
||||
else:
|
||||
# Activities of specific people (contact card, own profile)
|
||||
cids = { cid.text for cid in action.findall('.//{*}Cid') }
|
||||
publishers = [head for head in [user] + [ctc.head for ctc in detail.contacts.values()] if cid_format(head.uuid, decimal = True) in cids]
|
||||
|
||||
activities = backend.user_service.get_activities(
|
||||
[head.uuid for head in publishers], int(str(find_element(action, 'count') or 10)),
|
||||
announcements = (action_str == 'GetContactsRecentActivity'),
|
||||
)
|
||||
|
||||
return render(req, 'msn:whatsnew/WhatsNewResponse.xml', {
|
||||
'action': action_str,
|
||||
'owner_cid': cid_format(user.uuid, decimal = True),
|
||||
'locale': str(find_element(action, 'locales/string') or 'en-us'),
|
||||
'activities': activities,
|
||||
'types': { int(activity.type) for activity in activities },
|
||||
'detail': detail,
|
||||
'now': datetime.utcnow(),
|
||||
})
|
||||
|
||||
async def handle_user_status(req: web.Request) -> web.Response:
|
||||
# WLM 2011 shares status messages to "What's New" through the Live Atom API
|
||||
from lxml.etree import fromstring as parse_xml
|
||||
|
||||
backend: Backend = req.app['backend']
|
||||
user, bs = _get_live_api_user(req)
|
||||
cid = req.match_info['cid']
|
||||
|
||||
try:
|
||||
message = parse_xml(await req.read()).findtext('{http://www.w3.org/2005/Atom}title') or ''
|
||||
except Exception:
|
||||
raise web.HTTPBadRequest()
|
||||
|
||||
_set_status_message(backend, user, bs, message)
|
||||
|
||||
message_xml = encode_xml_ne(message)
|
||||
return web.HTTPOk(content_type = 'application/atom+xml', text = (
|
||||
'<?xml version="1.0" encoding="utf-8"?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:live="http://api.live.com/schemas">'
|
||||
f'<id>{req.url}</id><updated>{util.misc.date_format(datetime.utcnow())}</updated>'
|
||||
f'<live:legacyPsm>{message_xml}</live:legacyPsm><title>{message_xml}</title>'
|
||||
f'<author><name>{encode_xml_ne(user.status.name)}</name><live:cid>{cid}</live:cid></author></entry>'
|
||||
))
|
||||
|
||||
def _get_live_api_user(req: web.Request) -> Tuple[models.User, Optional[BackendSession]]:
|
||||
backend: Backend = req.app['backend']
|
||||
auth = req.headers.get('Authorization') or ''
|
||||
token = (auth.split('t=', 1)[1][:20] if 't=' in auth else '')
|
||||
bs = backend.util_get_sess_by_token(token)
|
||||
user = _get_user_from_token(backend, bs, token)
|
||||
if user is None or cid_format(user.uuid, decimal = True) != req.match_info['cid']:
|
||||
raise web.HTTPUnauthorized()
|
||||
return user, bs
|
||||
|
||||
def _set_status_message(backend: Backend, user: models.User, bs: Optional[BackendSession], message: str) -> None:
|
||||
activity_added = backend.user_service.save_single_roaming(user, { 'message': message })
|
||||
sessions = backend.util_get_sessions_by_user(user)
|
||||
if bs is None or bs not in sessions:
|
||||
bs = (sessions[0] if sessions else None)
|
||||
if bs is not None and message != bs.user.status.message:
|
||||
bs.me_update({ 'message': message, 'notify_self': True })
|
||||
if activity_added:
|
||||
backend.notify_whats_new(user)
|
||||
|
||||
async def handle_user_files(req: web.Request) -> web.Response:
|
||||
from lxml.etree import fromstring as parse_xml, XMLSyntaxError
|
||||
|
||||
backend: Backend = req.app['backend']
|
||||
user, _ = _get_live_api_user(req)
|
||||
cid = req.match_info['cid']
|
||||
|
||||
if not req.content_type.startswith('multipart/'):
|
||||
raise web.HTTPUnsupportedMediaType()
|
||||
entry = None # type: Optional[Any]
|
||||
data = None # type: Optional[bytes]
|
||||
try:
|
||||
reader = await req.multipart()
|
||||
while True:
|
||||
part = await reader.next()
|
||||
if part is None: break
|
||||
body = await _read_part(part, PHOTO_MAX_SIZE)
|
||||
if entry is None and 'atom+xml' in (part.headers.get('Content-Type') or ''):
|
||||
entry = parse_xml(body)
|
||||
elif data is None:
|
||||
data = body
|
||||
except (ValueError, XMLSyntaxError):
|
||||
raise web.HTTPBadRequest()
|
||||
if entry is None or not data:
|
||||
raise web.HTTPBadRequest()
|
||||
ext = get_img_type(data)
|
||||
if ext is None:
|
||||
raise web.HTTPUnsupportedMediaType()
|
||||
|
||||
title = entry.findtext('{http://www.w3.org/2005/Atom}title') or ''
|
||||
summary = entry.findtext('{http://www.w3.org/2005/Atom}summary') or ''
|
||||
name = await asyncio.get_running_loop().run_in_executor(None, store_photo_file, user.uuid, data, ext)
|
||||
media_url = 'https://{}/photos/{}/{}'.format(settings.USERSTORAGE_HOST, user.uuid, name)
|
||||
if backend.user_service.add_activity(user, models.ActivityType.Photo, title = title, text = summary, url = media_url):
|
||||
backend.notify_whats_new(user)
|
||||
|
||||
location = '{}/{}'.format(str(req.url).rstrip('/'), name)
|
||||
entry_url = encode_xml_ne(location)
|
||||
media_url_xml = encode_xml_ne(media_url)
|
||||
mime = 'image/' + ext
|
||||
now_str = util.misc.date_format(datetime.utcnow())
|
||||
return web.Response(status = 201, content_type = 'application/atom+xml', headers = { 'Location': location }, text = (
|
||||
'<?xml version="1.0" encoding="utf-8"?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:live="http://api.live.com/schemas">'
|
||||
f'<id>{entry_url}</id><title>{encode_xml_ne(title)}</title><summary>{encode_xml_ne(summary)}</summary>'
|
||||
f'<published>{now_str}</published><updated>{now_str}</updated>'
|
||||
f'<author><name>{encode_xml_ne(user.status.name or "")}</name><live:cid>{cid}</live:cid></author>'
|
||||
f'<link rel="self" type="application/atom+xml" href="{entry_url}"/><link rel="edit" type="application/atom+xml" href="{entry_url}"/>'
|
||||
f'<link rel="edit-media" type="{mime}" href="{media_url_xml}"/><link rel="alternate" type="{mime}" href="{media_url_xml}"/>'
|
||||
f'<content type="{mime}" src="{media_url_xml}"/><live:type>photo</live:type></entry>'
|
||||
))
|
||||
|
||||
async def _read_part(part: Any, limit: int) -> bytes:
|
||||
chunks = [] # type: List[bytes]
|
||||
size = 0
|
||||
while True:
|
||||
chunk = await part.read_chunk()
|
||||
if not chunk: break
|
||||
size += len(chunk)
|
||||
if size > limit:
|
||||
raise web.HTTPRequestEntityTooLarge(max_size = limit, actual_size = size)
|
||||
chunks.append(chunk)
|
||||
return b''.join(chunks)
|
||||
|
||||
async def handle_photo(req: web.Request) -> web.Response:
|
||||
# Photos shared as a status, shown in "What's New"
|
||||
user_uuid = req.match_info['uuid']
|
||||
name = req.match_info['name']
|
||||
if not (re.fullmatch(r'[0-9a-f-]{36}', user_uuid) and re.fullmatch(r'[0-9a-f]{16}\.(?:jpeg|png|gif)', name)):
|
||||
raise web.HTTPNotFound()
|
||||
result = await asyncio.get_running_loop().run_in_executor(None, get_photo_data, user_uuid, name)
|
||||
if result is None:
|
||||
raise web.HTTPNotFound()
|
||||
photo, content_type = result
|
||||
return web.Response(body = photo, content_type = content_type)
|
||||
|
||||
def _get_user_from_token(backend: Backend, bs: Optional[BackendSession], token: Optional[str]) -> Optional[models.User]:
|
||||
# Social services are also used before (or without) a notification server session
|
||||
if bs is not None:
|
||||
return bs.user
|
||||
if not token:
|
||||
return None
|
||||
tpl = backend.login_auth_service.get_token('ns/login', token)
|
||||
if tpl is None:
|
||||
return None
|
||||
return backend._load_user_record(tpl[0])
|
||||
|
||||
async def handle_today(req: web.Request) -> web.Response:
|
||||
return render(req, 'msn:svcs/MSNToday.html', {
|
||||
'title': "CrossTalk Today",
|
||||
@@ -574,21 +571,21 @@ async def handle_today(req: web.Request) -> web.Response:
|
||||
'wlm': req.query.get('wlm') or False,
|
||||
'windowslive': req.query.get('windowslive') or False
|
||||
})
|
||||
|
||||
|
||||
async def handle_gamebrowser(req: web.Request) -> web.Response:
|
||||
return render(req, 'msn:svcs/GameBrowser.html', {
|
||||
'title': "Game Browser | CrossTalk",
|
||||
})
|
||||
|
||||
|
||||
async def handle_portal(req: web.Request) -> web.Response:
|
||||
return web.HTTPFound(f'http://{settings.TODAY_HOSTs}/start/msn')
|
||||
|
||||
return web.HTTPFound(f'http://{settings.TODAY_HOST}/start/msn')
|
||||
|
||||
async def handle_textadredir(req: web.Request) -> web.Response:
|
||||
return web.HTTPFound(f'http://{settings.AD_HOST}/ads/txt')
|
||||
|
||||
|
||||
async def handle_banneradredir(req: web.Request) -> web.Response:
|
||||
return web.HTTPFound(f'http://{settings.AD_HOST}/ads/banner')
|
||||
|
||||
|
||||
async def handle_msn_redirect(req: web.Request) -> web.Response:
|
||||
i = req.match_info['i']
|
||||
id = req.match_info['id']
|
||||
@@ -600,42 +597,42 @@ async def handle_msn_redirect(req: web.Request) -> web.Response:
|
||||
return web.HTTPFound('/start')
|
||||
|
||||
return web.HTTPFound('http://g.msn.com{}'.format(req.path_qs))
|
||||
|
||||
|
||||
async def handle_msn5ads(req: web.Request) -> web.Response:
|
||||
response = '<?xml version="1.0"?><msn-data><RefreshLogin>False</RefreshLogin><RefreshInterval>10080</RefreshInterval></msn-data>'
|
||||
return web.HTTPOk(body=response)
|
||||
|
||||
|
||||
async def handle_suiteupdate(req: web.Request) -> web.Response:
|
||||
return render(req, 'msn:config/SuiteUpdate.xml')
|
||||
|
||||
|
||||
async def handle_socialint(req: web.Request) -> web.Response:
|
||||
return render(req, 'msn:config/Config.PSA.xml')
|
||||
|
||||
|
||||
async def handle_tabs(req: web.Request) -> web.Response:
|
||||
with open('config/tabs.json') as fh:
|
||||
tabs_data = json.load(fh)
|
||||
|
||||
|
||||
tmpl = req.app['jinja_env'].get_template('msn:svcs/svcs_tabs.xml')
|
||||
tab_tmpl = tmpl.render(tabs=tabs_data)
|
||||
|
||||
|
||||
return web.HTTPOk(content_type='text/xml', text='<?xml version="1.0"?>\n' + tab_tmpl)
|
||||
|
||||
|
||||
# TODO: Unify the tabs handlers so spaghetti code isn't a problem
|
||||
async def handle_tabs_newer(req: web.Request) -> web.Response:
|
||||
id = int(req.match_info['id'])
|
||||
|
||||
|
||||
with open('config/tabs.json') as fh:
|
||||
tabs_data = json.load(fh)
|
||||
|
||||
|
||||
tab_data = next((tab for tab in tabs_data if tab["id"] == id), None)
|
||||
if not tab_data:
|
||||
return web.HTTPNotFound(text="Tab not found")
|
||||
|
||||
|
||||
tmpl = req.app['jinja_env'].get_template('msn:svcs/svcs_tabs_newer.xml')
|
||||
tab_tmpl = tmpl.render(tab=tab_data)
|
||||
|
||||
|
||||
return web.HTTPOk(content_type='text/xml', text=tab_tmpl)
|
||||
|
||||
|
||||
async def handle_msgrconfig(req: web.Request) -> web.Response:
|
||||
if req.method == 'POST':
|
||||
body = await req.read() # type: Optional[bytes]
|
||||
@@ -645,15 +642,14 @@ async def handle_msgrconfig(req: web.Request) -> web.Response:
|
||||
if msgr_config == 'INVALID_VER':
|
||||
return web.Response(status = 500)
|
||||
return web.HTTPOk(content_type = 'text/xml', text = msgr_config)
|
||||
|
||||
MsgrConfigVariant = Literal['msn', 'wlm8', 'wlm14', 'wlm16']
|
||||
|
||||
async def handle_msgrconfig16(req: web.Request) -> web.Response:
|
||||
body = await req.read()
|
||||
msgr_config = _get_msgr_config_16(req, body)
|
||||
return web.HTTPOk(content_type = 'text/xml', text = msgr_config)
|
||||
return web.HTTPOk(content_type = 'text/xml', text = _render_msgr_config(req, 'wlm16'))
|
||||
|
||||
def _get_msgr_config(req: web.Request, body: Optional[bytes]) -> str:
|
||||
query = req.query
|
||||
result = None # type: Optional[str]
|
||||
ver = query.get('ver') or ''
|
||||
|
||||
if ver:
|
||||
@@ -662,56 +658,28 @@ def _get_msgr_config(req: web.Request, body: Optional[bytes]) -> str:
|
||||
|
||||
config_ver = ver.split('.', 4)
|
||||
if 8 <= int(config_ver[0]) <= 9:
|
||||
with open(TMPL_DIR + '/config/MsgrConfig.wlm.8.xml') as fh:
|
||||
config = fh.read()
|
||||
with open('config/tabs.json') as fh:
|
||||
with open(TMPL_DIR + '/svcs/svcs_tabs.xml') as th:
|
||||
template = th.read()
|
||||
tabs_data = json.load(fh)
|
||||
tmpl_before = req.app['jinja_env'].from_string(template)
|
||||
tab_tmpl = tmpl_before.render(tabs=tabs_data, settings=settings)
|
||||
result = config.format(tabs = tab_tmpl)
|
||||
return _render_msgr_config(req, 'wlm8')
|
||||
elif int(config_ver[0]) >= 14:
|
||||
with open(TMPL_DIR + '/config/MsgrConfig.wlm.14.xml') as fh:
|
||||
template = fh.read()
|
||||
with open('config/tabs.json') as fh:
|
||||
tabs_data = json.load(fh)
|
||||
tmpl_before = req.app['jinja_env'].from_string(template)
|
||||
tmpl = tmpl_before.render(tabs=tabs_data, settings=settings)
|
||||
result = tmpl
|
||||
return _render_msgr_config(req, 'wlm14')
|
||||
elif body is not None:
|
||||
with open(TMPL_DIR + '/config/MsgrConfig.msn.envelope.xml') as fh:
|
||||
envelope = fh.read()
|
||||
with open(TMPL_DIR + '/config/MsgrConfig.msn.xml') as fh:
|
||||
config = fh.read()
|
||||
with open('config/tabs.json') as fh:
|
||||
with open(TMPL_DIR + '/svcs/svcs_tabs.xml') as th:
|
||||
template = th.read()
|
||||
tabs_data = json.load(fh)
|
||||
tmpl_before = req.app['jinja_env'].from_string(template)
|
||||
tab_tmpl = tmpl_before.render(tabs=tabs_data)
|
||||
result = envelope.format(MsgrConfig = config.format(tabs = tab_tmpl, settings = settings))
|
||||
# MSN Messenger 6.0 - 7.5 only use the SOAP `GetClientConfig` action
|
||||
return _render_msgr_config(req, 'msn', soap = True)
|
||||
|
||||
return result or ''
|
||||
return ''
|
||||
|
||||
def _get_msgr_config_16(req: web.Request, body: Optional[bytes]) -> str:
|
||||
with open(TMPL_DIR + '/config/MsgrConfig.wlm.16.xml') as fh:
|
||||
template = fh.read()
|
||||
def _render_msgr_config(req: web.Request, variant: MsgrConfigVariant, *, soap: bool = False) -> str:
|
||||
with open('config/tabs.json') as fh:
|
||||
tabs_data = json.load(fh)
|
||||
tmpl_before = req.app['jinja_env'].from_string(template)
|
||||
tmpl = tmpl_before.render(tabs=tabs_data, settings=settings)
|
||||
result = tmpl
|
||||
|
||||
return result or ''
|
||||
|
||||
tmpl = req.app['jinja_env'].get_template('msn:config/MsgrConfig.xml')
|
||||
return tmpl.render(variant = variant, soap = soap, tabs = tabs_data, settings = settings)
|
||||
|
||||
PassportURLs = 'PassportURLs'
|
||||
|
||||
|
||||
async def handle_nexus(req: web.Request) -> web.Response:
|
||||
return web.HTTPOk(headers = {
|
||||
PassportURLs: 'DALogin=https://{}{}'.format(settings.LOGIN_HOST, LOGIN_PATH),
|
||||
})
|
||||
|
||||
|
||||
async def handle_login(req: web.Request) -> web.Response:
|
||||
tmp = _extract_pp_credentials(req.headers.get('Authorization') or '')
|
||||
if tmp is None:
|
||||
@@ -727,7 +695,7 @@ async def handle_login(req: web.Request) -> web.Response:
|
||||
return web.HTTPOk(headers={
|
||||
'Authentication-Info': '{}da-status=success,from-PP=\'{}\''.format(PP, token),
|
||||
})
|
||||
|
||||
|
||||
async def handle_not_rst(req: web.Request) -> web.Response:
|
||||
if req.method == 'OPTIONS':
|
||||
return web.HTTPOk(headers = {
|
||||
@@ -750,6 +718,8 @@ async def handle_not_rst(req: web.Request) -> web.Response:
|
||||
token, _, _ = token_tpl
|
||||
headers['X-Token'] = token
|
||||
return web.HTTPOk(headers = headers)
|
||||
|
||||
DA_TOKEN_LIFETIME = 86400 * 30
|
||||
|
||||
async def handle_rst(req: web.Request, rst2: bool = False) -> web.Response:
|
||||
from lxml.objectify import fromstring as parse_xml
|
||||
@@ -760,17 +730,27 @@ async def handle_rst(req: web.Request, rst2: bool = False) -> web.Response:
|
||||
except:
|
||||
return render(req, 'msn:RST/{}.error.xml'.format('RST2' if rst2 else 'RST'))
|
||||
|
||||
email = find_element(root, 'Username')
|
||||
pwd = str(find_element(root, 'Password'))
|
||||
|
||||
if email is None or pwd is None:
|
||||
return render(req, 'msn:RST/{}.error.xml'.format('RST2' if rst2 else 'RST'))
|
||||
|
||||
backend: Backend = req.app['backend']
|
||||
|
||||
token_tpl = _login(req, email, pwd, binary_secret = True, lifetime = 86400)
|
||||
email = find_element(root, 'Username')
|
||||
pwd = str(find_element(root, 'Password'))
|
||||
# Saved passwords: IDCRL signs in with the `http://Passport.NET/tb` token (`BinaryDAToken0`) from its last sign-in
|
||||
# instead of a username and password
|
||||
da_token = find_element(root, 'Security/EncryptedData/CipherData/CipherValue')
|
||||
|
||||
uuid = backend.util_get_uuid_from_email(email)
|
||||
if email is not None:
|
||||
token_tpl = _login(req, email, pwd, binary_secret = True, lifetime = 86400)
|
||||
uuid = backend.util_get_uuid_from_email(email)
|
||||
elif da_token is not None:
|
||||
uuid = _get_uuid_from_da_token(backend, str(da_token))
|
||||
token_tpl = None
|
||||
if uuid is not None:
|
||||
user = backend._load_user_record(uuid)
|
||||
if user is not None:
|
||||
email = user.email
|
||||
token_tpl = _create_login_token(backend, uuid, binary_secret = True, lifetime = 86400)
|
||||
else:
|
||||
return render(req, 'msn:RST/{}.error.xml'.format('RST2' if rst2 else 'RST'))
|
||||
|
||||
if token_tpl is not None and uuid is not None:
|
||||
token, expiry, bsecret = token_tpl
|
||||
@@ -783,6 +763,11 @@ async def handle_rst(req: web.Request, rst2: bool = False) -> web.Response:
|
||||
cid = cid_format(uuid)
|
||||
puid = puid_format(uuid)
|
||||
|
||||
# The client stores this and sends it back to sign in again without the password
|
||||
da_token_new, _ = backend.login_auth_service.create_token('rst/da', [uuid], lifetime = DA_TOKEN_LIFETIME)
|
||||
datoken = base64.b64encode(da_token_new.encode('ascii')).decode('ascii')
|
||||
dabinarysecret = base64.b64encode(secrets.token_bytes(24)).decode('ascii')
|
||||
|
||||
assert req.transport is not None
|
||||
peername = req.transport.get_extra_info('peername')
|
||||
if peername:
|
||||
@@ -818,6 +803,8 @@ async def handle_rst(req: web.Request, rst2: bool = False) -> web.Response:
|
||||
lastname = "Doe",
|
||||
ip = req.headers.get('X-Forwarded-For', req.remote),
|
||||
pptoken1 = token,
|
||||
datoken = datoken,
|
||||
dabinarysecret = dabinarysecret,
|
||||
tokenxml = Markup(''.join(tokenxmls)),
|
||||
) if rst2 else tmpl.render(
|
||||
puidhex = puid,
|
||||
@@ -829,6 +816,8 @@ async def handle_rst(req: web.Request, rst2: bool = False) -> web.Response:
|
||||
lastname = "Doe",
|
||||
ip = req.headers.get('X-Forwarded-For', req.remote),
|
||||
pptoken1 = token,
|
||||
datoken = datoken,
|
||||
dabinarysecret = dabinarysecret,
|
||||
tokenxml = Markup(''.join(tokenxmls)),
|
||||
)),
|
||||
)
|
||||
@@ -836,7 +825,7 @@ async def handle_rst(req: web.Request, rst2: bool = False) -> web.Response:
|
||||
return render(req, 'msn:RST/{}.authfailed.xml'.format('RST2' if rst2 else 'RST'), {
|
||||
'timez': util.misc.date_format(datetime.utcnow()),
|
||||
})
|
||||
|
||||
|
||||
async def handle_videofeed(req: web.Request, get_videos: bool = False) -> web.Response:
|
||||
if not get_videos:
|
||||
return render(req, 'msn:svcs/videofeedroot.xml')
|
||||
@@ -869,18 +858,18 @@ async def handle_videofeed(req: web.Request, get_videos: bool = False) -> web.Re
|
||||
language="en-us",
|
||||
lastBuildDate=datetime.now(),
|
||||
ttl=10,
|
||||
copyright="© 2023 - 2025 the undergr0und",
|
||||
copyright="© 2023 - 2026 hiden",
|
||||
image=PyRSS2Gen.Image(
|
||||
url="http://hiden.cc/static/icon/misc/hidnet.png",
|
||||
title="CrossTalk Video - InDev",
|
||||
link="http://crosstalk.im"
|
||||
url="https://static.ugnet.xyz/svc/ct/logo/shadow.svg",
|
||||
title="CrossTalk Videos",
|
||||
link="https://crosstalk.im"
|
||||
),
|
||||
items=rss_items
|
||||
)
|
||||
|
||||
|
||||
rss_xml = rss_feed.to_xml(encoding="utf-8")
|
||||
return web.HTTPOk(content_type="text/xml", text=rss_xml)
|
||||
|
||||
|
||||
def _extract_pp_credentials(auth_str: str) -> Optional[Tuple[str, str]]:
|
||||
if not auth_str:
|
||||
return None
|
||||
@@ -893,7 +882,7 @@ def _extract_pp_credentials(auth_str: str) -> Optional[Tuple[str, str]]:
|
||||
email = auth['sign-in']
|
||||
pwd = auth['pwd']
|
||||
return email, pwd
|
||||
|
||||
|
||||
def _login(req: web.Request, email: str, pwd: str, binary_secret: bool = False, lifetime: int = 30) -> Optional[Tuple[str, datetime, Optional[str]]]:
|
||||
backend: Backend = req.app['backend']
|
||||
uuid = backend.user_service.login(email, pwd)
|
||||
@@ -901,11 +890,23 @@ def _login(req: web.Request, email: str, pwd: str, binary_secret: bool = False,
|
||||
username = email.lower()[:-len('@crosstalk.im')]
|
||||
uuid = backend.user_service.login_with_username(username, pwd)
|
||||
if uuid is None: return None
|
||||
return _create_login_token(backend, uuid, binary_secret = binary_secret, lifetime = lifetime)
|
||||
|
||||
def _create_login_token(backend: Backend, uuid: str, *, binary_secret: bool = False, lifetime: int = 30) -> Tuple[str, datetime, Optional[str]]:
|
||||
bsecret = None
|
||||
if binary_secret:
|
||||
bsecret = base64.b64encode(secrets.token_bytes(24)).decode('ascii')
|
||||
return (*backend.login_auth_service.create_token('ns/login', [uuid, bsecret], lifetime = lifetime), bsecret)
|
||||
|
||||
def _get_uuid_from_da_token(backend: Backend, cipher_value: str) -> Optional[str]:
|
||||
try:
|
||||
token = base64.b64decode(cipher_value).decode('ascii')
|
||||
except (ValueError, UnicodeDecodeError):
|
||||
return None
|
||||
tpl = backend.login_auth_service.get_token('rst/da', token)
|
||||
if tpl is None: return None
|
||||
return tpl[0]
|
||||
|
||||
def _contact_is_favorite(user_detail: models.UserDetail, ctc: models.Contact) -> bool:
|
||||
groups = user_detail._groups_by_uuid
|
||||
for group in ctc._groups.copy():
|
||||
|
||||
@@ -0,0 +1,253 @@
|
||||
from typing import Optional, Any
|
||||
from datetime import datetime
|
||||
import secrets, base64, settings, util.misc
|
||||
from aiohttp import web
|
||||
|
||||
from core import models
|
||||
from core.backend import Backend
|
||||
from util.avatar import get_img_type, find_avatar_file
|
||||
from ..misc import cid_format
|
||||
from .util import find_element, get_tag_localname, render, preprocess_soap, unknown_soap, storage_fault
|
||||
|
||||
def register(app: web.Application) -> None:
|
||||
# MSN >= 8
|
||||
app.router.add_post('/storageservice/SchematizedStore.asmx', handle_storageservice)
|
||||
|
||||
async def handle_storageservice(req: web.Request) -> web.Response:
|
||||
backend = req.app['backend']
|
||||
header, action, bs, token = await preprocess_soap(req)
|
||||
assert bs is not None
|
||||
soapaction = (req.headers.get('SOAPAction') or '')
|
||||
if soapaction.startswith('"') and soapaction.endswith('"'):
|
||||
soapaction = soapaction[1:-1]
|
||||
storage_ns = ('w10' if soapaction.startswith('http://www.msn.com/webservices/storage/w10/') else '2008')
|
||||
action_str = get_tag_localname(action)
|
||||
now_str = util.misc.date_format(datetime.utcnow())
|
||||
user = bs.user
|
||||
cachekey = secrets.token_urlsafe(172)
|
||||
|
||||
cid = cid_format(user.uuid)
|
||||
|
||||
if action_str == 'GetProfile':
|
||||
roaming_info = backend.user_service.get_roaming_info(user)
|
||||
assert roaming_info is not None
|
||||
|
||||
# Resolve the active avatar using the md5 stored in users.avatar.
|
||||
# find_avatar_file returns None if no avatar has been uploaded yet.
|
||||
avatar_md5 = user.avatar
|
||||
mime = None
|
||||
image_size = 0
|
||||
image_thumb_size = 0
|
||||
|
||||
if avatar_md5:
|
||||
full_file = find_avatar_file(user.uuid, avatar_md5, small=False)
|
||||
thumb_file = find_avatar_file(user.uuid, avatar_md5, small=True)
|
||||
|
||||
if full_file and full_file.is_file():
|
||||
ext = full_file.suffix.lstrip('.').lower()
|
||||
mime = ext
|
||||
image_size = full_file.stat().st_size
|
||||
|
||||
if thumb_file and thumb_file.is_file():
|
||||
image_thumb_size = thumb_file.stat().st_size
|
||||
|
||||
return render(req, 'msn:storageservice/GetProfileResponse.xml', {
|
||||
'storage_ns': storage_ns,
|
||||
'cachekey': cachekey,
|
||||
'cid': cid,
|
||||
'pptoken1': token,
|
||||
'user': user,
|
||||
'now': now_str,
|
||||
'mime': mime,
|
||||
'size_static': image_size,
|
||||
'size_small': image_thumb_size,
|
||||
'roaming_info': roaming_info,
|
||||
'host': settings.USERSTORAGE_HOST,
|
||||
})
|
||||
if action_str == 'FindDocuments':
|
||||
# TODO: FindDocuments
|
||||
return render(req, 'msn:storageservice/FindDocumentsResponse.xml', {
|
||||
'storage_ns': storage_ns,
|
||||
'cachekey': cachekey,
|
||||
'cid': cid,
|
||||
'pptoken1': token,
|
||||
'user': user,
|
||||
})
|
||||
if action_str == 'UpdateProfile':
|
||||
delete_psm = False
|
||||
delete_name = False
|
||||
delete_avatar = False
|
||||
|
||||
# TODO: More properties?
|
||||
|
||||
# Update to roaming name/message
|
||||
# ```
|
||||
# <UpdateProfile xmlns="http://www.msn.com/webservices/storage/w10">
|
||||
# <profile>
|
||||
# <ResourceID>862d987eb60b7a63!106</ResourceID>
|
||||
# <ExpressionProfile>
|
||||
# <FreeText>Update</FreeText>
|
||||
# <DisplayName>Society is betrayal</DisplayName>
|
||||
# <PersonalStatus>Prosperity is the best medicine. :)</PersonalStatus>
|
||||
# </ExpressionProfile>
|
||||
# </profile>
|
||||
# </UpdateProfile>
|
||||
# ```
|
||||
|
||||
# Remove roaming message
|
||||
# ```
|
||||
# <UpdateProfile xmlns="http://www.msn.com/webservices/storage/w10">
|
||||
# <profile>
|
||||
# <ResourceID>bb4542ce2eacdbde!106</ResourceID>
|
||||
# <ExpressionProfile>
|
||||
# <FreeText>Update</FreeText>
|
||||
# <DisplayName>%walkingphas3r%</DisplayName>
|
||||
# <Flags>0</Flags>
|
||||
# </ExpressionProfile>
|
||||
# </profile>
|
||||
# <profileAttributesToDelete>
|
||||
# <ExpressionProfileAttributes>
|
||||
# <PersonalStatus>true</PersonalStatus>
|
||||
# </ExpressionProfileAttributes>
|
||||
# </profileAttributesToDelete>
|
||||
# </UpdateProfile>
|
||||
# ```
|
||||
|
||||
expression_profile = find_element(action, 'ExpressionProfile')
|
||||
name = find_element(expression_profile, 'DisplayName')
|
||||
message = find_element(expression_profile, 'PersonalStatus')
|
||||
|
||||
attributes_to_delete = find_element(action, 'profileAttributesToDelete/ExpressionProfileAttributes')
|
||||
if attributes_to_delete is not None:
|
||||
# `PersonalStatus` and `DisplayName` is the only known attribute that has the ability to be deleted
|
||||
delete_psm = find_element(attributes_to_delete, 'PersonalStatus') or False
|
||||
delete_name = find_element(attributes_to_delete, 'DisplayName') or False
|
||||
if not (isinstance(delete_psm, bool) and isinstance(delete_name, bool)):
|
||||
return storage_fault(req, storage_ns, action_str, 'GeneralException')
|
||||
|
||||
name = find_element(action, 'DisplayName')
|
||||
message = find_element(action, 'PersonalStatus')
|
||||
|
||||
if name:
|
||||
backend.user_service.save_single_roaming(user, { 'name': name })
|
||||
if message and not delete_psm:
|
||||
if backend.user_service.save_single_roaming(user, { 'message': message }):
|
||||
backend.notify_whats_new(user)
|
||||
|
||||
if delete_psm:
|
||||
backend.user_service.save_single_roaming(user, { 'message': '' })
|
||||
if delete_name:
|
||||
backend.user_service.save_single_roaming(user, { 'name': '' })
|
||||
|
||||
return render(req, 'msn:storageservice/UpdateProfileResponse.xml', {
|
||||
'storage_ns': storage_ns,
|
||||
'cachekey': cachekey,
|
||||
'cid': cid,
|
||||
'pptoken1': token,
|
||||
'user': user
|
||||
})
|
||||
if action_str == 'DeleteRelationships':
|
||||
# TODO: DeleteRelationships
|
||||
return render(req, 'msn:storageservice/DeleteRelationshipsResponse.xml', {
|
||||
'storage_ns': storage_ns,
|
||||
'cachekey': cachekey,
|
||||
'cid': cid,
|
||||
'pptoken1': token,
|
||||
'user': user,
|
||||
})
|
||||
if action_str in ('CreateDocument', 'UpdateDocument'):
|
||||
op = 'Update' if action_str == 'UpdateDocument' else 'Create'
|
||||
return handle_document(req, action, op, storage_ns, user, cid, token, backend)
|
||||
if action_str == 'CreateRelationships':
|
||||
# TODO: CreateRelationships
|
||||
return render(req, 'msn:storageservice/CreateRelationshipsResponse.xml', {
|
||||
'storage_ns': storage_ns,
|
||||
'cachekey': cachekey,
|
||||
'cid': cid,
|
||||
'pptoken1': token,
|
||||
'user': user,
|
||||
})
|
||||
if action_str in { 'ShareItem' }:
|
||||
# TODO: ShareItem
|
||||
return unknown_soap(req, header, action, expected = True)
|
||||
return unknown_soap(req, header, action)
|
||||
|
||||
|
||||
def handle_document(
|
||||
req: web.Request,
|
||||
action: Any,
|
||||
op_type: str, # 'Create' or 'Update'
|
||||
storage_ns: str,
|
||||
user: models.User,
|
||||
cid: str,
|
||||
token: str,
|
||||
backend: Backend,
|
||||
) -> web.Response:
|
||||
streamtype = find_element(action, 'DocumentStreamType')
|
||||
|
||||
if streamtype == 'UserTileStatic':
|
||||
raw_b64 = find_element(action, 'Data')
|
||||
if raw_b64:
|
||||
try:
|
||||
data = base64.b64decode(raw_b64)
|
||||
except Exception:
|
||||
return storage_fault(req, storage_ns, '{}Document'.format(op_type), 'InvalidDocumentStream')
|
||||
|
||||
err = _store_avatar_from_bytes(backend, user, data)
|
||||
# stupid dumb doodoo hack to make avatar interop work
|
||||
# we compute a yahoo avatar hash so it can be displayed in yahoo as well
|
||||
# i'm sure there's a better approach but overengineering is funnier
|
||||
_yahoo_avatar_gaming(backend, user)
|
||||
if err is not None:
|
||||
return storage_fault(req, storage_ns, '{}Document'.format(op_type), err)
|
||||
|
||||
return render(req, 'msn:storageservice/{}DocumentResponse.xml'.format(op_type), {
|
||||
'storage_ns': storage_ns,
|
||||
'cid': cid,
|
||||
'pptoken1': token,
|
||||
'user': user,
|
||||
})
|
||||
|
||||
|
||||
def _store_avatar_from_bytes(
|
||||
backend: Backend,
|
||||
user: models.User,
|
||||
data: bytes,
|
||||
) -> Optional[str]:
|
||||
# The storage fault (error code) if the picture can't be kept
|
||||
ext = get_img_type(data)
|
||||
if ext is None:
|
||||
# Not a picture (in a format that can be shown)
|
||||
return 'InvalidDocumentStream'
|
||||
|
||||
avatar_old = user.avatar
|
||||
try:
|
||||
backend.user_service.save_avatar(user, data, ext)
|
||||
except Exception:
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
return 'GeneralException'
|
||||
if user.avatar != avatar_old:
|
||||
# A different picture is a new activity
|
||||
backend.notify_whats_new(user)
|
||||
|
||||
return None
|
||||
|
||||
def _yahoo_avatar_gaming(backend: Backend, user: models.User) -> None:
|
||||
avatar_md5 = getattr(user, 'avatar', None)
|
||||
if not avatar_md5:
|
||||
return
|
||||
import struct, binascii
|
||||
raw = bytes.fromhex(avatar_md5)
|
||||
crc = binascii.crc32(raw) & 0xFFFFFFFF
|
||||
checksum_bytes = str(struct.unpack('i', struct.pack('I', crc))[0]).encode('utf-8')
|
||||
|
||||
detail = user.detail
|
||||
if detail is None:
|
||||
return
|
||||
for ctc in detail.contacts.values():
|
||||
if not (ctc.lists & models.ContactList.FL) or ctc.status.is_offlineish():
|
||||
continue
|
||||
for bs_other in backend.util_get_sessions_by_user(ctc.head):
|
||||
if bs_other.front_data.get('ymsg'):
|
||||
bs_other.evt.ymsg_on_friend_icon(user.username, bs_other.user.username, checksum_bytes)
|
||||
@@ -0,0 +1,188 @@
|
||||
from typing import Any, Optional
|
||||
from datetime import datetime
|
||||
import asyncio, secrets, sys, util.misc, settings
|
||||
|
||||
from aiohttp import web
|
||||
|
||||
from core import models, error
|
||||
from core.backend import Backend, BackendSession
|
||||
|
||||
from .util import find_element, render, dispatch_abch, abch_fault, schema_fault
|
||||
|
||||
def register(app: web.Application) -> None:
|
||||
app.router.add_post('/abservice/SharingService.asmx', handle_sharingservice)
|
||||
|
||||
async def handle_sharingservice(req: web.Request) -> web.Response:
|
||||
return await dispatch_abch(req, sys.modules[__name__], 'sharing')
|
||||
|
||||
def sharing_FindMembership(req: web.Request, header: Any, action: Any, bs: BackendSession) -> web.Response:
|
||||
backend: Backend = req.app['backend']
|
||||
now_str = util.misc.date_format(datetime.utcnow())
|
||||
user = bs.user
|
||||
detail = user.detail
|
||||
cachekey = secrets.token_urlsafe(172)
|
||||
return render(req, 'msn:sharing/FindMembershipResponse.xml', {
|
||||
'cachekey': cachekey,
|
||||
'host': settings.ADDRESSBOOK_HOST,
|
||||
'session_id': util.misc.gen_uuid(),
|
||||
'user': user,
|
||||
'detail': detail,
|
||||
'ContactList': models.ContactList,
|
||||
'lists': [models.ContactList.AL, models.ContactList.BL, models.ContactList.RL],
|
||||
'circles': backend.user_service.get_circle_batch(user),
|
||||
'now': now_str,
|
||||
})
|
||||
|
||||
def sharing_AddMember(req: web.Request, header: Any, action: Any, bs: BackendSession) -> web.Response:
|
||||
backend: Backend = req.app['backend']
|
||||
cachekey = secrets.token_urlsafe(172)
|
||||
|
||||
user = bs.user
|
||||
detail = user.detail
|
||||
assert detail is not None
|
||||
|
||||
memberships = action.findall('.//{*}memberships/{*}Membership')
|
||||
for membership in memberships:
|
||||
email = None # type: Optional[str]
|
||||
circle_id = None
|
||||
|
||||
lst = models.ContactList.Parse(str(find_element(membership, 'MemberRole')))
|
||||
if lst is None:
|
||||
return schema_fault(req, 'http://www.msn.com/webservices/AddressBook/AddMember')
|
||||
members = membership.findall('.//{*}Members/{*}Member')
|
||||
for member in members:
|
||||
member_type = member.get('{http://www.w3.org/2001/XMLSchema-instance}type')
|
||||
if member_type == 'PassportMember':
|
||||
if find_element(member, 'Type') == 'Passport' and find_element(member, 'State') == 'Accepted':
|
||||
email = find_element(member, 'PassportName')
|
||||
elif member_type == 'EmailMember':
|
||||
if find_element(member, 'Type') == 'Email' and find_element(member, 'State') == 'Accepted':
|
||||
email = find_element(member, 'Email')
|
||||
elif member_type == 'CircleMember':
|
||||
if find_element(member, 'Type') == 'Circle' and find_element(member, 'State') == 'Accepted':
|
||||
circle_id = find_element(member, 'CircleId')
|
||||
if email is None and circle_id is None:
|
||||
return render(req, 'msn:sharing/Fault.userdoesnotexist.xml', status = 500)
|
||||
if email is not None:
|
||||
name = None
|
||||
contact_uuid = backend.util_get_uuid_from_email(email)
|
||||
if contact_uuid is None:
|
||||
return render(req, 'msn:sharing/Fault.userdoesnotexist.xml', status = 500)
|
||||
ctc = detail.contacts.get(contact_uuid)
|
||||
if ctc is None:
|
||||
name = email
|
||||
|
||||
try:
|
||||
bs.me_contact_add(contact_uuid, lst, name = name)
|
||||
except error.ContactListIsFull:
|
||||
return schema_fault(req, 'http://www.msn.com/webservices/AddressBook/AddMember', 'Contact list is full')
|
||||
except:
|
||||
pass
|
||||
elif circle_id is not None:
|
||||
if not (circle_id.startswith('00000000-0000-0000-0009-') and len(circle_id[24:]) == 12):
|
||||
return render(req, 'msn:sharing/Fault.userdoesnotexist.xml', status = 500)
|
||||
chat_id = circle_id[-12:]
|
||||
circle = backend.user_service.get_circle(chat_id)
|
||||
if circle is None: return abch_fault(req, 'AddMember', 'UserDoesNotExist')
|
||||
|
||||
if lst in (models.ContactList.RL,models.ContactList.PL):
|
||||
# Only the service puts anyone on those
|
||||
return schema_fault(req, 'http://www.msn.com/webservices/AddressBook/AddMember')
|
||||
if lst == models.ContactList.BL:
|
||||
bs.me_block_circle(circle)
|
||||
return render(req, 'msn:sharing/AddMemberResponse.xml', {
|
||||
'cachekey': cachekey,
|
||||
'host': settings.ADDRESSBOOK_HOST,
|
||||
'session_id': util.misc.gen_uuid(),
|
||||
})
|
||||
|
||||
def sharing_DeleteMember(req: web.Request, header: Any, action: Any, bs: BackendSession) -> web.Response:
|
||||
backend: Backend = req.app['backend']
|
||||
cachekey = secrets.token_urlsafe(172)
|
||||
|
||||
user = bs.user
|
||||
detail = user.detail
|
||||
assert detail is not None
|
||||
|
||||
contact_uuid = None
|
||||
circle_id = None
|
||||
|
||||
memberships = action.findall('.//{*}memberships/{*}Membership')
|
||||
for membership in memberships:
|
||||
lst = models.ContactList.Parse(str(find_element(membership, 'MemberRole')))
|
||||
if lst is None:
|
||||
return schema_fault(req, 'http://www.msn.com/webservices/AddressBook/DeleteMember')
|
||||
members = membership.findall('.//{*}Members/{*}Member')
|
||||
for member in members:
|
||||
member_type = member.get('{http://www.w3.org/2001/XMLSchema-instance}type')
|
||||
if member_type == 'PassportMember':
|
||||
if find_element(member, 'Type') == 'Passport' and find_element(member, 'State') == 'Accepted':
|
||||
try:
|
||||
contact_uuid = find_element(member, 'MembershipId').split('/', 1)[1]
|
||||
except:
|
||||
email = find_element(member, 'PassportName')
|
||||
contact_uuid = backend.util_get_uuid_from_email(email or '')
|
||||
if contact_uuid is None:
|
||||
return abch_fault(req, 'DeleteMember', 'MemberDoesNotExist')
|
||||
# (A circle member is one too, not a kind of Passport member)
|
||||
elif member_type == 'CircleMember':
|
||||
if find_element(member, 'Type') == 'Circle' and find_element(member, 'State') == 'Accepted':
|
||||
circle_id = find_element(member, 'CircleId')
|
||||
if contact_uuid is not None:
|
||||
if contact_uuid not in detail.contacts:
|
||||
return render(req, 'msn:sharing/Fault.memberdoesnotexist.xml', status = 500)
|
||||
try:
|
||||
bs.me_contact_remove(contact_uuid, lst)
|
||||
except:
|
||||
pass
|
||||
elif circle_id is not None:
|
||||
if not (circle_id.startswith('00000000-0000-0000-0009-') and len(circle_id[24:]) == 12):
|
||||
return abch_fault(req, 'DeleteMember', 'MemberDoesNotExist')
|
||||
chat_id = circle_id[-12:]
|
||||
circle = backend.user_service.get_circle(chat_id)
|
||||
if circle is None: return abch_fault(req, 'DeleteMember', 'MemberDoesNotExist')
|
||||
|
||||
if lst in (models.ContactList.RL,models.ContactList.PL):
|
||||
# Only the service takes anyone off those; there's nothing to do
|
||||
continue
|
||||
if lst == models.ContactList.BL:
|
||||
bs.me_unblock_circle(circle)
|
||||
return render(req, 'msn:sharing/DeleteMemberResponse.xml', {
|
||||
'cachekey': cachekey,
|
||||
'host': settings.ADDRESSBOOK_HOST,
|
||||
'session_id': util.misc.gen_uuid(),
|
||||
})
|
||||
|
||||
def sharing_CreateCircle(req: web.Request, header: Any, action: Any, bs: BackendSession) -> web.Response:
|
||||
backend: Backend = req.app['backend']
|
||||
cachekey = secrets.token_urlsafe(172)
|
||||
|
||||
user = bs.user
|
||||
|
||||
if (
|
||||
find_element(action, 'Domain') == 1
|
||||
and find_element(action, 'HostedDomain') == 'live.com'
|
||||
and find_element(action, 'Type') == 2
|
||||
and isinstance(find_element(action, 'IsPresenceEnabled'), bool)
|
||||
):
|
||||
membership_access = int(find_element(action, 'MembershipAccess'))
|
||||
name = str(find_element(action, 'DisplayName'))
|
||||
owner_friendly = str(find_element(action, 'PublicDisplayName'))
|
||||
|
||||
circle = bs.me_create_circle(name, owner_friendly, membership_access)
|
||||
|
||||
backend.loop.create_task(_dispatch_circle_created(backend, user, circle))
|
||||
|
||||
return render(req, 'msn:sharing/CreateCircleResponse.xml', {
|
||||
'cachekey': cachekey,
|
||||
'host': settings.ADDRESSBOOK_HOST,
|
||||
'session_id': util.misc.gen_uuid(),
|
||||
'chat_id': circle.chat_id,
|
||||
})
|
||||
|
||||
return schema_fault(req, 'http://www.msn.com/webservices/AddressBook/CreateCircle')
|
||||
|
||||
async def _dispatch_circle_created(backend: Backend, user: models.User, circle: models.Circle) -> None:
|
||||
await asyncio.sleep(0.04)
|
||||
for sess in backend.util_get_sessions_by_user(user):
|
||||
sess.evt.on_circle_created(circle)
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<soap:Body>
|
||||
<soap:Fault>
|
||||
<faultcode>soap:Client</faultcode>
|
||||
<faultstring>{{ faultstring or 'Schema validation error' }}</faultstring>
|
||||
<faultactor>{{ actor }}</faultactor>
|
||||
<detail />
|
||||
</soap:Fault>
|
||||
</soap:Body>
|
||||
</soap:Envelope>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<soap:Body>
|
||||
<soap:Fault>
|
||||
<faultcode>soap:Server</faultcode>
|
||||
<faultstring>Server was unable to process request.</faultstring>
|
||||
{% if actor %}<faultactor>{{ actor }}</faultactor>
|
||||
{% endif %}<detail />
|
||||
</soap:Fault>
|
||||
</soap:Body>
|
||||
</soap:Envelope>
|
||||
@@ -1,3 +1,4 @@
|
||||
|
||||
<wst:RequestSecurityTokenResponse>
|
||||
<wst:TokenType>urn:passport:compact</wst:TokenType>
|
||||
<wsp:AppliesTo xmlns:wsa="http://www.w3.org/2005/08/addressing">
|
||||
@@ -28,3 +29,4 @@
|
||||
</wst:RequestedProofToken>
|
||||
{% endif %}
|
||||
</wst:RequestSecurityTokenResponse>
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<ds:KeyName>http://Passport.NET/STS</ds:KeyName>
|
||||
</ds:KeyInfo>
|
||||
<CipherData>
|
||||
<CipherValue>Cap26AQZrSyMm2SwwTyJKyqLR9/S+vQWQsaBc5Mv7PwtQDMzup/udOOMMvSu99R284pmiD3IepBXrEMLK5rLrXAf2A6vrP6vYuGA45GCqQdoxusHZcjt9P2B8WyCTVT2cM8jtGqGIfRlU/4WzOLxNrDJwDfOsmilduGAGZfvRPW7/jyXXrnGK7/PWkymX4YDD+ygJfMrPAfvAprvw/HVE6tutKVc9cViTVYy8oHjosQlb8MKn3vKDW1O2ZWQUc47JPl7DkjQaanfNBGe6CL7K1nr6Z/jy7Ay7MjV+KQehmvphSEmCzLrpB4WWn2PdpdTrOcDj+aJfWHeGL4sIPwEKgrKnTQg9QD8CCsm5wew9P/br39OuIfsC6/PFBEHmVThqj0aMxYLRD4K2GoRay6Ab7NftoIP5dnFnclfRxETAoNpTPE2F5Q669QySrdXxBpBSk8GLmdCDMlhiyzSiByrhFQaZRcH8n9i+i289otYuJQ7xPyP19KwT4CRyOiIlh3DSdlBfurMwihQGxN2spU7P4MwckrDKeOyYQhvNm/XWId/oXBqpHbo2yRPiOwL9p1J4AxA4RaJuh77vyhn2lFQaxPDqZd5A8RJjpb2NE2N3UncKLW7GAangdoLbRDMqt51VMZ0la+b/moL61fKvFXinKRHc7PybrG3MWzgXxO/VMKAuXOsB9XnOgl2A524cgiwyg==</CipherValue>
|
||||
<CipherValue>{{ datoken }}</CipherValue>
|
||||
</CipherData>
|
||||
</EncryptedData>
|
||||
</wst:RequestedSecurityToken>
|
||||
@@ -87,7 +87,7 @@
|
||||
</wsse:SecurityTokenReference>
|
||||
</wst:RequestedUnattachedReference>
|
||||
<wst:RequestedProofToken>
|
||||
<wst:BinarySecret>tgoPVK67sU36fQKlGLMgWgTXp7oiaQgE</wst:BinarySecret>
|
||||
<wst:BinarySecret>{{ dabinarysecret }}</wst:BinarySecret>
|
||||
</wst:RequestedProofToken>
|
||||
</wst:RequestSecurityTokenResponse>
|
||||
{{ tokenxml }}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% macro contact_entry(ab_id, ctc, detail, now) %}
|
||||
{% macro contact_entry(ab_id, ctc, detail, now, trust_level = none) %}
|
||||
<contactId>{{ ctc.head.uuid }}</contactId>
|
||||
<contactInfo>
|
||||
{% if ctc.detail.personal_email or ctc.detail.work_phone or ctc.detail.im_email or ctc.detail.other_email %}
|
||||
{% if ctc.detail.personal_email or ctc.detail.work_email or ctc.detail.im_email or ctc.detail.other_email %}
|
||||
<emails>
|
||||
{% if ctc.detail.work_email %}
|
||||
{{ email_entry('ContactEmailBusiness', ctc.detail.work_email) }}
|
||||
@@ -20,7 +20,7 @@
|
||||
{% if ctc.detail.home_phone or ctc.detail.work_phone or ctc.detail.fax_phone or ctc.detail.pager_phone or ctc.detail.mobile_phone or ctc.detail.other_phone %}
|
||||
<phones>
|
||||
{% if ctc.detail.work_phone %}
|
||||
{{ phone_entry('ContactPhoneBusiness', contact.work_phone) }}
|
||||
{{ phone_entry('ContactPhoneBusiness', ctc.detail.work_phone) }}
|
||||
{% endif %}
|
||||
{% if ctc.detail.fax_phone %}
|
||||
{{ phone_entry('ContactPhoneFax', ctc.detail.fax_phone) }}
|
||||
@@ -123,6 +123,11 @@
|
||||
<IsPrivate>false</IsPrivate>
|
||||
<Gender>Unspecified</Gender>
|
||||
<TimeZone>None</TimeZone>
|
||||
{% if trust_level is not none %}
|
||||
<IsAutoUpdateDisabled>false</IsAutoUpdateDisabled>
|
||||
<IsShellContact>false</IsShellContact>
|
||||
<TrustLevel>{{ trust_level }}</TrustLevel>
|
||||
{% endif %}
|
||||
</contactInfo>
|
||||
<propertiesChanged />
|
||||
<fDeleted>false</fDeleted>
|
||||
@@ -212,6 +217,9 @@
|
||||
<IsPrivate>false</IsPrivate>
|
||||
<Gender>Unspecified</Gender>
|
||||
<TimeZone>None</TimeZone>
|
||||
<IsAutoUpdateDisabled>false</IsAutoUpdateDisabled>
|
||||
<IsShellContact>false</IsShellContact>
|
||||
<TrustLevel>{{ (user.settings.get('TrustLevels') or {}).get(user.uuid, 0) }}</TrustLevel>
|
||||
</contactInfo>
|
||||
<propertiesChanged />
|
||||
<fDeleted>false</fDeleted>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% from 'msn:_funcs.xml' import contact_entry, group_entry, generate_me_entry, ab_properties -%}
|
||||
{% from 'msn:_funcs.xml' import contact_entry, group_entry, generate_me_entry -%}
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<soap:Header>
|
||||
@@ -13,88 +13,88 @@
|
||||
<soap:Body>
|
||||
<ABFindContactsPagedResponse xmlns="http://www.msn.com/webservices/AddressBook">
|
||||
<ABFindContactsPagedResult>
|
||||
{% if ab_id == '00000000-0000-0000-0000-000000000000' %}
|
||||
<Groups>
|
||||
{% for group in detail._groups_by_uuid.values() %}
|
||||
{{ group_entry(group, now) }}
|
||||
{% endfor %}
|
||||
</Groups>
|
||||
{% endif %}
|
||||
{%- if ab_id == '00000000-0000-0000-0000-000000000000' %}
|
||||
<Groups>
|
||||
{%- for group in detail._groups_by_uuid.values() %}
|
||||
{{ group_entry(group, now) }}
|
||||
{%- endfor %}
|
||||
</Groups>
|
||||
{%- endif %}
|
||||
<Contacts>
|
||||
{% if ab_id == '00000000-0000-0000-0000-000000000000' %}
|
||||
{% for ctc in detail.contacts.values() %}
|
||||
{% if ctc.lists.__and__(ContactList.FL) %}
|
||||
<Contact>
|
||||
{{ contact_entry(ab_id, ctc, detail, now) }}
|
||||
</Contact>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% for circle in circles %}
|
||||
<Contact>
|
||||
<contactId>00000000-0000-0000-0009-{{ circle.chat_id }}</contactId>
|
||||
<contactInfo>
|
||||
<contactType>Circle</contactType>
|
||||
<quickName>circle</quickName>
|
||||
<passportName>00000000-0000-0000-0009-{{ circle.chat_id.upper() }}@hotmail.com</passportName>
|
||||
<IsPassportNameHidden>false</IsPassportNameHidden>
|
||||
<displayName>{% if circle.memberships[user.uuid].role == CircleRole.Admin %}{{ circle.name }}{% else %}00000000-0000-0000-0009-{{ circle.chat_id.upper() }}@hotmail.com{% endif %}</displayName>
|
||||
<puid>{{ puid_format(user.uuid) }}</puid>
|
||||
<CID>{{ cid_format('00000000-0000-0000-0009-' + circle.chat_id, decimal = True) }}</CID>
|
||||
<IsNotMobileVisible>false</IsNotMobileVisible>
|
||||
<isMobileIMEnabled>false</isMobileIMEnabled>
|
||||
<isMessengerUser>false</isMessengerUser>
|
||||
<isFavorite>false</isFavorite>
|
||||
<isSmtp>false</isSmtp>
|
||||
<hasSpace>false</hasSpace>
|
||||
<spotWatchState>NoDevice</spotWatchState>
|
||||
<birthdate>0001-01-01T00:00:00</birthdate>
|
||||
<primaryEmailType>ContactEmailPersonal</primaryEmailType>
|
||||
<PrimaryLocation>ContactLocationPersonal</PrimaryLocation>
|
||||
<PrimaryPhone>ContactPhonePersonal</PrimaryPhone>
|
||||
<IsPrivate>false</IsPrivate>
|
||||
<IsHidden>true</IsHidden>
|
||||
<Gender>Unspecified</Gender>
|
||||
<TimeZone>None</TimeZone>
|
||||
<NetworkInfoList>
|
||||
<NetworkInfo>
|
||||
<DomainId>1</DomainId>
|
||||
<SourceId>WL</SourceId>
|
||||
{% if circle.memberships[user.uuid].role != CircleRole.Admin %}
|
||||
<DomainTag>00000000-0000-0000-0009-{{ circle.chat_id.upper() }}</DomainTag>
|
||||
<DisplayName>00000000-0000-0000-0009-{{ circle.chat_id.upper() }}</DisplayName>
|
||||
{% endif %}
|
||||
<RelationshipType>5</RelationshipType>
|
||||
<RelationshipState>{{ circle.memberships[user.uuid].state.value }}</RelationshipState>
|
||||
<RelationshipStateDate>{{ now }}</RelationshipStateDate>
|
||||
<RelationshipRole>{% if circle.memberships[user.uuid].role == CircleRole.StatePendingOutbound %}4{% else %}0{% endif %}</RelationshipRole>
|
||||
<NDRCount>0</NDRCount>
|
||||
{% if circle.memberships[user.uuid].invite_message %}
|
||||
<InviterMessage>{{ circle.memberships[user.uuid].invite_message }}</InviterMessage>
|
||||
{% endif %}
|
||||
<InviterCID>{% if user.uuid == circle.owner_uuid %}0{% else %}{{ cid_format(circle.memberships[user.uuid].inviter_uuid, decimal = True) }}{% endif %}</InviterCID>
|
||||
{% if circle.memberships[user.uuid].inviter_name %}
|
||||
<InviterName>{{ circle.memberships[user.uuid].inviter_name }}</InviterName>
|
||||
{% endif %}
|
||||
{% if circle.memberships[user.uuid].inviter_email %}
|
||||
<InviterEmail>{{ circle.memberships[user.uuid].inviter_email }}</InviterEmail>
|
||||
{% endif %}
|
||||
<CreateDate>{{ now }}</CreateDate>
|
||||
<LastUpdated>{{ now }}</LastUpdated>
|
||||
<PropertiesChanged />
|
||||
</NetworkInfo>
|
||||
</NetworkInfoList>
|
||||
<IsAutoUpdateDisabled>false</IsAutoUpdateDisabled>
|
||||
<IsShellContact>false</IsShellContact>
|
||||
<TrustLevel>0</TrustLevel>
|
||||
<PropertiesChanged />
|
||||
</contactInfo>
|
||||
<propertiesChanged />
|
||||
<fDeleted>false</fDeleted>
|
||||
{%- if ab_id == '00000000-0000-0000-0000-000000000000' %}
|
||||
{%- for ctc in detail.contacts.values() %}
|
||||
{%- if ctc.lists.__and__(ContactList.FL) %}
|
||||
<Contact>
|
||||
{{ contact_entry(ab_id, ctc, detail, now, trust_level = (user.settings.get('TrustLevels') or {}).get(ctc.head.uuid, 0)) }}
|
||||
</Contact>
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- for circle in circles %}
|
||||
<Contact>
|
||||
<contactId>00000000-0000-0000-0009-{{ circle.chat_id }}</contactId>
|
||||
<contactInfo>
|
||||
<contactType>Circle</contactType>
|
||||
<quickName>circle</quickName>
|
||||
<passportName>00000000-0000-0000-0009-{{ circle.chat_id.upper() }}@hotmail.com</passportName>
|
||||
<IsPassportNameHidden>false</IsPassportNameHidden>
|
||||
<displayName>{% if circle.memberships[user.uuid].role == CircleRole.Admin %}{{ circle.name }}{% else %}00000000-0000-0000-0009-{{ circle.chat_id.upper() }}@hotmail.com{% endif %}</displayName>
|
||||
<puid>{{ puid_format(user.uuid) }}</puid>
|
||||
<CID>{{ cid_format('00000000-0000-0000-0009-' + circle.chat_id, decimal = True) }}</CID>
|
||||
<IsNotMobileVisible>false</IsNotMobileVisible>
|
||||
<isMobileIMEnabled>false</isMobileIMEnabled>
|
||||
<isMessengerUser>false</isMessengerUser>
|
||||
<isFavorite>false</isFavorite>
|
||||
<isSmtp>false</isSmtp>
|
||||
<hasSpace>false</hasSpace>
|
||||
<spotWatchState>NoDevice</spotWatchState>
|
||||
<birthdate>0001-01-01T00:00:00</birthdate>
|
||||
<primaryEmailType>ContactEmailPersonal</primaryEmailType>
|
||||
<PrimaryLocation>ContactLocationPersonal</PrimaryLocation>
|
||||
<PrimaryPhone>ContactPhonePersonal</PrimaryPhone>
|
||||
<IsPrivate>false</IsPrivate>
|
||||
<IsHidden>true</IsHidden>
|
||||
<Gender>Unspecified</Gender>
|
||||
<TimeZone>None</TimeZone>
|
||||
<NetworkInfoList>
|
||||
<NetworkInfo>
|
||||
<DomainId>1</DomainId>
|
||||
<SourceId>WL</SourceId>
|
||||
{%- if circle.memberships[user.uuid].role != CircleRole.Admin %}
|
||||
<DomainTag>00000000-0000-0000-0009-{{ circle.chat_id.upper() }}</DomainTag>
|
||||
<DisplayName>00000000-0000-0000-0009-{{ circle.chat_id.upper() }}</DisplayName>
|
||||
{%- endif %}
|
||||
<RelationshipType>5</RelationshipType>
|
||||
<RelationshipState>{{ circle.memberships[user.uuid].state.value }}</RelationshipState>
|
||||
<RelationshipStateDate>{{ now }}</RelationshipStateDate>
|
||||
<RelationshipRole>{% if circle.memberships[user.uuid].role == CircleRole.StatePendingOutbound %}4{% else %}0{% endif %}</RelationshipRole>
|
||||
<NDRCount>0</NDRCount>
|
||||
{%- if circle.memberships[user.uuid].invite_message %}
|
||||
<InviterMessage>{{ circle.memberships[user.uuid].invite_message }}</InviterMessage>
|
||||
{%- endif %}
|
||||
<InviterCID>{% if user.uuid == circle.owner_uuid %}0{% else %}{{ cid_format(circle.memberships[user.uuid].inviter_uuid, decimal = True) }}{% endif %}</InviterCID>
|
||||
{%- if circle.memberships[user.uuid].inviter_name %}
|
||||
<InviterName>{{ circle.memberships[user.uuid].inviter_name }}</InviterName>
|
||||
{%- endif %}
|
||||
{%- if circle.memberships[user.uuid].inviter_email %}
|
||||
<InviterEmail>{{ circle.memberships[user.uuid].inviter_email }}</InviterEmail>
|
||||
{%- endif %}
|
||||
<CreateDate>{{ now }}</CreateDate>
|
||||
<lastChange>{{ now }}</lastChange>
|
||||
<CreatedBy>96</CreatedBy>
|
||||
</Contact>
|
||||
{% endfor %}
|
||||
<LastUpdated>{{ now }}</LastUpdated>
|
||||
<PropertiesChanged />
|
||||
</NetworkInfo>
|
||||
</NetworkInfoList>
|
||||
<IsAutoUpdateDisabled>false</IsAutoUpdateDisabled>
|
||||
<IsShellContact>false</IsShellContact>
|
||||
<TrustLevel>0</TrustLevel>
|
||||
<PropertiesChanged />
|
||||
</contactInfo>
|
||||
<propertiesChanged />
|
||||
<fDeleted>false</fDeleted>
|
||||
<CreateDate>{{ now }}</CreateDate>
|
||||
<lastChange>{{ now }}</lastChange>
|
||||
<CreatedBy>96</CreatedBy>
|
||||
</Contact>
|
||||
{%- endfor %}
|
||||
{% else %}
|
||||
{% for membership in circle.memberships.values() %}
|
||||
<Contact>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
<TimeZone>None</TimeZone>
|
||||
<IsAutoUpdateDisabled>false</IsAutoUpdateDisabled>
|
||||
<IsShellContact>false</IsShellContact>
|
||||
<TrustLevel>0</TrustLevel>
|
||||
<TrustLevel>{{ trust_level }}</TrustLevel>
|
||||
<PropertiesChanged />
|
||||
</contactInfo>
|
||||
<propertiesChanged />
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<soap:Body>
|
||||
<soap:Fault>
|
||||
<faultcode>{{ faultcode }}</faultcode>
|
||||
<faultstring>{{ errorstring }}</faultstring>
|
||||
<faultactor>http://www.msn.com/webservices/AddressBook/{{ action_str }}</faultactor>
|
||||
<detail>
|
||||
<errorcode xmlns="http://www.msn.com/webservices/AddressBook">{{ errorcode }}</errorcode>
|
||||
<errorstring xmlns="http://www.msn.com/webservices/AddressBook">{{ errorstring }}</errorstring>
|
||||
<machineName xmlns="http://www.msn.com/webservices/AddressBook">BAYABCHWBB133</machineName>
|
||||
{% if parameter_fault %}<parameterFault xmlns="http://www.msn.com/webservices/AddressBook">{{ parameter_fault }}</parameterFault>
|
||||
{% endif %}<additionalDetails>
|
||||
{% if conflict_object_id %}<conflictObjectId>{{ conflict_object_id }}</conflictObjectId>
|
||||
{% endif %}<originalExceptionErrorMessage>{{ errorstring }}</originalExceptionErrorMessage>
|
||||
</additionalDetails>
|
||||
</detail>
|
||||
</soap:Fault>
|
||||
</soap:Body>
|
||||
</soap:Envelope>
|
||||
@@ -19,15 +19,15 @@
|
||||
{% endif %}
|
||||
{% if not error %}
|
||||
<clientErrorData />
|
||||
<contactId>{% if ab_id == '00000000-0000-0000-0000-000000000000' %}00000000-0000-0000-0009-{{ circle.chat_id }}{% else %}{{ head.uuid }}{% endif %}</contactId>
|
||||
<contactId>{% if circle is not none and ab_id == '00000000-0000-0000-0000-000000000000' %}00000000-0000-0000-0009-{{ circle.chat_id }}{% else %}{{ head.uuid }}{% endif %}</contactId>
|
||||
<contactInfo>
|
||||
<contactType>{% if ab_id == '00000000-0000-0000-0000-000000000000' %}Circle{% else %}{% if circle.memberships[head.uuid].state == CircleState.WaitingResponse or circle.memberships[head.uuid].state == CircleState.Rejected or (circle.memberships[head.uuid].role == CircleRole.Empty or circle.memberships[head.uuid].state == CircleState.Empty) %}LivePending{% else %}Live{% endif %}{% endif %}</contactType>
|
||||
<quickName>{% if ab_id == '00000000-0000-0000-0000-000000000000' %}circle{% else %}{{ head.email }}{% endif %}</quickName>
|
||||
<passportName>{% if ab_id == '00000000-0000-0000-0000-000000000000' %}00000000-0000-0000-0009-{{ circle.chat_id.upper() }}@hotmail.com{% else %}{{ head.email }}{% endif %}</passportName>
|
||||
<contactType>{% if circle is not none and ab_id == '00000000-0000-0000-0000-000000000000' %}Circle{% elif circle is not none %}{% if circle.memberships[head.uuid].state == CircleState.WaitingResponse or circle.memberships[head.uuid].state == CircleState.Rejected or (circle.memberships[head.uuid].role == CircleRole.Empty or circle.memberships[head.uuid].state == CircleState.Empty) %}LivePending{% else %}Live{% endif %}{% else %}Live{% endif %}</contactType>
|
||||
<quickName>{% if circle is not none and ab_id == '00000000-0000-0000-0000-000000000000' %}circle{% else %}{{ head.email }}{% endif %}</quickName>
|
||||
<passportName>{% if circle is not none and ab_id == '00000000-0000-0000-0000-000000000000' %}00000000-0000-0000-0009-{{ circle.chat_id.upper() }}@hotmail.com{% else %}{{ head.email }}{% endif %}</passportName>
|
||||
<IsPassportNameHidden>false</IsPassportNameHidden>
|
||||
<displayName>{% if ab_id == '00000000-0000-0000-0000-000000000000' %}{{ circle.name }}{% else %}{{ head.email }}{% endif %}</displayName>
|
||||
<displayName>{% if circle is not none and ab_id == '00000000-0000-0000-0000-000000000000' %}{{ circle.name }}{% else %}{{ head.email }}{% endif %}</displayName>
|
||||
<puid>{{ puid_format(user.uuid) }}</puid>
|
||||
<CID>{{ cid_format('00000000-0000-0000-0009-' + circle.chat_id, decimal = True) }}</CID>
|
||||
<CID>{% if circle is not none %}{{ cid_format('00000000-0000-0000-0009-' + circle.chat_id, decimal = True) }}{% else %}{{ cid_format(head.uuid, decimal = True) }}{% endif %}</CID>
|
||||
<IsNotMobileVisible>false</IsNotMobileVisible>
|
||||
<isMobileIMEnabled>false</isMobileIMEnabled>
|
||||
<isMessengerUser>false</isMessengerUser>
|
||||
@@ -40,10 +40,10 @@
|
||||
<PrimaryLocation>ContactLocationPersonal</PrimaryLocation>
|
||||
<PrimaryPhone>ContactPhonePersonal</PrimaryPhone>
|
||||
<IsPrivate>false</IsPrivate>
|
||||
<IsHidden>{% if ab_id == '00000000-0000-0000-0000-000000000000' %}true{% else %}false{% endif %}</IsHidden>
|
||||
<IsHidden>{% if circle is not none and ab_id == '00000000-0000-0000-0000-000000000000' %}true{% else %}false{% endif %}</IsHidden>
|
||||
<Gender>Unspecified</Gender>
|
||||
<TimeZone>None</TimeZone>
|
||||
{% if (ab_id == '00000000-0000-0000-0000-000000000000' or ab_id.startswith('00000000-0000-0000-0009-')) and not (circle.memberships[head.uuid].role == CircleRole.Empty or circle.memberships[head.uuid].state == CircleState.Empty) %}
|
||||
{% if circle is not none and (ab_id == '00000000-0000-0000-0000-000000000000' or ab_id.startswith('00000000-0000-0000-0009-')) and not (circle.memberships[head.uuid].role == CircleRole.Empty or circle.memberships[head.uuid].state == CircleState.Empty) %}
|
||||
<NetworkInfoList>
|
||||
<NetworkInfo>
|
||||
<DomainId>1</DomainId>
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<soap:Header>
|
||||
<ServiceHeader xmlns="http://www.msn.com/webservices/AddressBook">
|
||||
<Version>15.01.1408.0000</Version>
|
||||
<CacheKey>12r1:{{ cachekey }}</CacheKey>
|
||||
<CacheKeyChanged>true</CacheKeyChanged>
|
||||
<PreferredHostName>{{ host }}</PreferredHostName>
|
||||
<SessionId>{{ session_id }}</SessionId>
|
||||
</ServiceHeader>
|
||||
</soap:Header>
|
||||
<soap:Body>
|
||||
<UpdateContactResponse xmlns="http://www.msn.com/webservices/AddressBook" />
|
||||
</soap:Body>
|
||||
</soap:Envelope>
|
||||
@@ -1792,12 +1792,12 @@
|
||||
<AppId>1140906031</AppId>
|
||||
<ThumbNailUrl>https://{{ settings.USERSTORAGE_HOST }}/static/social/ugnetthumb.gif</ThumbNailUrl>
|
||||
<MiniPhotoUrl>https://{{ settings.USERSTORAGE_HOST }}/static/social/mini.gif</MiniPhotoUrl>
|
||||
<Domain>^https?://.*\.hiden\.cc/.*$</Domain>
|
||||
<EmailDomain>mail.ugnet.gay</EmailDomain>
|
||||
<WebDomain>ugnet.gay</WebDomain>
|
||||
<Name>the undergr0und</Name>
|
||||
<Domain>^https?://.*\.ugnet\.xyz/.*$</Domain>
|
||||
<EmailDomain>mail.ugnet.xyz</EmailDomain>
|
||||
<WebDomain>ugnet.xyz</WebDomain>
|
||||
<Name>Testing...</Name>
|
||||
<Summary>Making the internet fun again.</Summary>
|
||||
<SiteUrl>http://ugnet.gay/</SiteUrl>
|
||||
<SiteUrl>http://ugnet.xyz/</SiteUrl>
|
||||
<PSARank>1</PSARank>
|
||||
<Connected>true</Connected>
|
||||
<AppState>
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<soap:Body>
|
||||
<GetClientConfigResponse xmlns="http://www.msn.com/webservices/Messenger/Client">
|
||||
<GetClientConfigResult><![CDATA[{MsgrConfig}]]></GetClientConfigResult>
|
||||
</GetClientConfigResponse>
|
||||
</soap:Body>
|
||||
</soap:Envelope>
|
||||
@@ -1,102 +0,0 @@
|
||||
<MsgrConfig>
|
||||
<Simple>
|
||||
<Config>
|
||||
<ExpiresInDays>0</ExpiresInDays>
|
||||
</Config>
|
||||
<DisablePhoneDialer>1</DisablePhoneDialer>
|
||||
<MinFlashPlayer BuildNumber="60" MajorVersion="7" MinorVersion="0"></MinFlashPlayer>
|
||||
<Relay>
|
||||
<Enabled>0</Enabled>
|
||||
<MaxCallLength>0</MaxCallLength>
|
||||
</Relay>
|
||||
<TrustedDomains>
|
||||
<domain name="hiden.cc"/>
|
||||
<domain name="ugnet.gay"/>
|
||||
<domain name="crosstalk.im"/>
|
||||
<domain name="ctsrv.gay"/>
|
||||
</TrustedDomains>
|
||||
<ErrorResponseTable>
|
||||
<Feature type="0" name="Login">
|
||||
<Entry hr="0x80072EE7" action="3"></Entry>
|
||||
<Entry hr="0x81000306" action="3"></Entry>
|
||||
<Entry hr="0x80072EFD" action="3"></Entry>
|
||||
<Entry hr="0x81000362" action="3"></Entry>
|
||||
<Entry hr="0x8100030E" action="3"></Entry>
|
||||
<Entry hr="0x80072745" action="3"></Entry>
|
||||
<Entry hr="0x800701F7" action="3"></Entry>
|
||||
<Entry hr="0x80072EFF" action="3"></Entry>
|
||||
<Entry hr="0x81000363" action="3"></Entry>
|
||||
<Entry hr="0x81000395" action="3"></Entry>
|
||||
<Entry hr="0x800B0001" action="3"></Entry>
|
||||
<Entry hr="0x81000323" action="3"></Entry>
|
||||
<Entry hr="0x80072F19" action="3"></Entry>
|
||||
<Entry hr="0x800701F8" action="3"></Entry>
|
||||
<Entry hr="0x80072746" action="3"></Entry>
|
||||
<Entry hr="0x800701F6" action="3"></Entry>
|
||||
<Entry hr="0x81000377" action="3"></Entry>
|
||||
<Entry hr="0x81000314" action="3"></Entry>
|
||||
<Entry hr="0x81000378" action="3"></Entry>
|
||||
<Entry hr="0x80072EFF" action="3"></Entry>
|
||||
<Entry hr="0x80070190" action="3"></Entry>
|
||||
<Entry hr="0x80070197" action="3"></Entry>
|
||||
<Entry hr="0x80048820" action="3"></Entry>
|
||||
<Entry hr="0x80048829" action="3"></Entry>
|
||||
<Entry hr="0x80048834" action="3"></Entry>
|
||||
<Entry hr="0x80048852" action="3"></Entry>
|
||||
<Entry hr="0x8004886a" action="3"></Entry>
|
||||
<Entry hr="0x8004886b" action="3"></Entry>
|
||||
</Feature>
|
||||
<Feature type="2" name="MapFile">
|
||||
<Entry hr="0x810003F0" action="3"></Entry>
|
||||
<Entry hr="0x810003F1" action="3"></Entry>
|
||||
<Entry hr="0x810003F2" action="3"></Entry>
|
||||
<Entry hr="0x810003F3" action="3"></Entry>
|
||||
<Entry hr="0x810003F4" action="3"></Entry>
|
||||
<Entry hr="0x810003F5" action="3"></Entry>
|
||||
<Entry hr="0x810003F6" action="3"></Entry>
|
||||
<Entry hr="0x810003F7" action="3"></Entry>
|
||||
</Feature>
|
||||
</ErrorResponseTable>
|
||||
</Simple>
|
||||
<TabConfig>
|
||||
{tabs}
|
||||
</TabConfig>
|
||||
<AbchCfg>
|
||||
<abchconfig>
|
||||
<url>https://{{ settings.ADDRESSBOOK_HOST }}/abservice.asmx</url>
|
||||
</abchconfig>
|
||||
</AbchCfg>
|
||||
<LocalizedConfig Market="en-US">
|
||||
<AdMainConfig>
|
||||
<TextAdRefresh>1</TextAdRefresh>
|
||||
<TextAdServer>http://{{ settings.AD_HOST }}/ads/txt</TextAdServer>
|
||||
<AdBanner20URL Refresh="300">http://{{ settings.AD_HOST }}/ads/banner</AdBanner20URL>
|
||||
</AdMainConfig>
|
||||
<AppDirConfig>
|
||||
<AppDirPageURL>http://{{ settings.APPDIR_HOST }}/AppDirectory/Directory.aspx?L=en-us</AppDirPageURL>
|
||||
<AppDirSeviceURL>http://{{ settings.APPDIR_HOST }}/AppDirectory/AppDirectory.asmx</AppDirSeviceURL>
|
||||
<AppDirVersionURL>http://{{ settings.APPDIR_HOST }}/AppDirectory/GetAppdirVersion.aspx</AppDirVersionURL>
|
||||
</AppDirConfig>
|
||||
<MSNSearch>
|
||||
<DesktopInstallURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</DesktopInstallURL>
|
||||
<ImagesURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=images</ImagesURL>
|
||||
<NearMeURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</NearMeURL>
|
||||
<NewsURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$+news&ia=news</NewsURL>
|
||||
<SearchKidsURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</SearchKidsURL>
|
||||
<SearchURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</SearchURL>
|
||||
<SharedSearchURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</SharedSearchURL>
|
||||
<SharedSearchURL2>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</SharedSearchURL2>
|
||||
</MSNSearch>
|
||||
<MsnTodayConfig>
|
||||
<MsnTodayURL>http://{{ settings.TODAY_HOST }}/start?msn=1</MsnTodayURL>
|
||||
</MsnTodayConfig>
|
||||
<MusicIntegration URL="https://www.last.fm/search/tracks?q=$ARTIST$+$TITLE$"/>
|
||||
<RL>
|
||||
<ViewProfileURL>https://{{ settings.WEBSITE_HOST }}/account/settings</ViewProfileURL>
|
||||
</RL>
|
||||
<TermsOfUse>
|
||||
<TermsOfUseSID>956</TermsOfUseSID>
|
||||
<TermsOfUseURL>https://{{ settings.WEBSITE_HOST }}/tos</TermsOfUseURL>
|
||||
</TermsOfUse>
|
||||
</LocalizedConfig>
|
||||
</MsgrConfig>
|
||||
@@ -1,239 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<MsgrConfig>
|
||||
<Simple>
|
||||
<Config>
|
||||
<ExpiresInDays>0</ExpiresInDays>
|
||||
</Config>
|
||||
<P2PConfig>
|
||||
<ObjectStore>
|
||||
<SendDelay>1</SendDelay>
|
||||
</ObjectStore>
|
||||
</P2PConfig>
|
||||
<DisablePhoneDialer>1</DisablePhoneDialer>
|
||||
<GetItemVersionForUnknown>false</GetItemVersionForUnknown>
|
||||
<MinFlashPlayer BuildNumber="28" MajorVersion="9" MinorVersion="0" />
|
||||
<Relay>
|
||||
<Enabled>0</Enabled>
|
||||
<MaxCallLength>0</MaxCallLength>
|
||||
</Relay>
|
||||
<Contacts>
|
||||
<Client ZombieServerDetectDelay="1800" ZombieServerDetectInterval="30" ZombieServerDetectResumeDelay="1800" />
|
||||
<Server ZombieServerDetectDelay="900" ZombieServerDetectResumeDelay="900" ZombieServerDetectConnectDelay="900" ZombieServerDetectLongDelay="900" />
|
||||
</Contacts>
|
||||
<TrustedDomains>
|
||||
<domain name="hiden.cc"/>
|
||||
<domain name="ugnet.gay"/>
|
||||
<domain name="crosstalk.im"/>
|
||||
<domain name="ctsrv.gay"/>
|
||||
</TrustedDomains>
|
||||
<ErrorResponseTable>
|
||||
<Feature type="0" name="Login">
|
||||
<Entry hr="0x80004002" action="3"/>
|
||||
<Entry hr="0x80004004" action="3"/>
|
||||
<Entry hr="0x80004005" action="3"/>
|
||||
<Entry hr="0x8000402A" action="3"/>
|
||||
<Entry hr="0x8000FFFF" action="3"/>
|
||||
<Entry hr="0x8001012E" action="3"/>
|
||||
<Entry hr="0x80040200" action="3"/>
|
||||
<Entry hr="0x80048051" action="3"/>
|
||||
<Entry hr="0x80048820" action="3"/>
|
||||
<Entry hr="0x80048823" action="3"/>
|
||||
<Entry hr="0x80070002" action="3"/>
|
||||
<Entry hr="0x80070005" action="3"/>
|
||||
<Entry hr="0x8007000E" action="3"/>
|
||||
<Entry hr="0x80070057" action="3"/>
|
||||
<Entry hr="0x8007007E" action="3"/>
|
||||
<Entry hr="0x800702E4" action="3"/>
|
||||
<Entry hr="0x800706BA" action="3"/>
|
||||
<Entry hr="0x800706BE" action="3"/>
|
||||
<Entry hr="0x80071392" action="3"/>
|
||||
<Entry hr="0x80072745" action="3"/>
|
||||
<Entry hr="0x80072746" action="3"/>
|
||||
<Entry hr="0x80072EE2" action="3"/>
|
||||
<Entry hr="0x80072EF3" action="3"/>
|
||||
<Entry hr="0x80072EFD" action="3"/>
|
||||
<Entry hr="0x80072EFF" action="3"/>
|
||||
<Entry hr="0x80072F06" action="3"/>
|
||||
<Entry hr="0x80072F7D" action="3"/>
|
||||
<Entry hr="0x800C013E" action="3"/>
|
||||
<Entry hr="0x80191002" action="3"/>
|
||||
<Entry hr="0x81000306" action="3"/>
|
||||
<Entry hr="0x8100030D" action="3"/>
|
||||
<Entry hr="0x81000314" action="3"/>
|
||||
<Entry hr="0x81000362" action="3"/>
|
||||
<Entry hr="0x81000378" action="3"/>
|
||||
<Entry hr="0x81000395" action="3"/>
|
||||
<Entry hr="0x85AE000B" action="3"/>
|
||||
<Entry hr="0x85AE000F" action="3"/>
|
||||
<Entry hr="0x85AE001D" action="3"/>
|
||||
<Entry hr="0x85AE0022" action="3"/>
|
||||
<Entry hr="0x85AE0024" action="3"/>
|
||||
<Entry hr="0x85AE0027" action="3"/>
|
||||
<Entry hr="0x85AE003C" action="3"/>
|
||||
<Entry hr="0x85AE0053" action="3"/>
|
||||
<Entry hr="0x8E5E0152" action="3"/>
|
||||
<Entry hr="0x8E5E0158" action="3"/>
|
||||
<Entry hr="0x8E5E0211" action="3"/>
|
||||
<Entry hr="0x8E5E0220" action="3"/>
|
||||
<Entry hr="0x8E5E0226" action="3"/>
|
||||
<Entry hr="0x8E5E03FE" action="3"/>
|
||||
<Entry hr="0x8E5E0408" action="3"/>
|
||||
<Entry hr="0x8E5E05F6" action="3"/>
|
||||
<Entry hr="0x8E5E0710" action="3"/>
|
||||
<Entry hr="0x8E5E0713" action="3"/>
|
||||
</Feature>
|
||||
<Feature type="2" name="MapFile">
|
||||
<Entry hr="0x810003F1" action="3"/>
|
||||
<Entry hr="0x810003F6" action="3"/>
|
||||
</Feature>
|
||||
<Feature type="3" name="P2P">
|
||||
<Entry hr="0x82000016" action="3"/>
|
||||
<Entry hr="0x82000017" action="3"/>
|
||||
<Entry hr="0x82000019" action="3"/>
|
||||
<Entry hr="0x8200001b" action="3"/>
|
||||
<Entry hr="0x8200001d" action="3"/>
|
||||
<Entry hr="0x8200001e" action="3"/>
|
||||
<Entry hr="0x82000024" action="3"/>
|
||||
<Entry hr="0x82000026" action="3"/>
|
||||
</Feature>
|
||||
</ErrorResponseTable>
|
||||
<USBDevices>
|
||||
<Device VID="0x045e" PID="0x0719"/>
|
||||
<Device VID="0x045e" PID="0x0722"/>
|
||||
<Device VID="0x041e" PID="0x4080"/>
|
||||
</USBDevices>
|
||||
<CirclesWeb General="https://{{ settings.WEBSITE_HOST }}/circles/$CIRCLECID$/settings/" General-SiteId="73625" Management="https://{{ settings.WEBSITE_HOST }}/circles/$CIRCLECID$/settings/" Management-SiteId="73625" Membership="https://{{ settings.WEBSITE_HOST }}/circles/$CIRCLECID$/settings/" Membership-SiteId="73625" Leave="https://{{ settings.WEBSITE_HOST }}/circles/$CIRCLECID$/settings/" Leave-SiteId="73625" Disc="https://{{ settings.WEBSITE_HOST }}" />
|
||||
<AnonymousIMSettings>
|
||||
<SettingsPage URL="http://settings.messenger.live.com/applications/WebSettings.aspx" SiteID="76215" />
|
||||
</AnonymousIMSettings>
|
||||
</Simple>
|
||||
<AbchCfg>
|
||||
<abchconfig>
|
||||
<url>https://{{ settings.ADDRESSBOOK_HOST }}/abservice.asmx</url>
|
||||
</abchconfig>
|
||||
</AbchCfg>
|
||||
<LocalizedConfig Market="en-US">
|
||||
<AdMainConfig>
|
||||
<TextAdRotation>420</TextAdRotation>
|
||||
<TextAdRefresh>1</TextAdRefresh>
|
||||
<TextAdServer>http://{{ settings.AD_HOST }}/ads/txt</TextAdServer>
|
||||
<AdBanner20URL Refresh="300">http://{{ settings.AD_HOST }}/ads/banner</AdBanner20URL>
|
||||
<StdAd AdVisible="60" VideoVisible="120" VideoDldIntvl="0">
|
||||
<VideoFeeds FeedsListURL="http://{{ settings.AD_HOST }}/svcs/msn-video-feeds/"/>
|
||||
</StdAd>
|
||||
</AdMainConfig>
|
||||
<AppDirConfig>
|
||||
<AppDirPageURL>http://{{ settings.APPDIR_HOST }}/AppDirectory/Directory.aspx?L=en-us</AppDirPageURL>
|
||||
<AppDirSeviceURL>http://{{ settings.APPDIR_HOST }}/AppDirectory/AppDirectory.asmx</AppDirSeviceURL>
|
||||
<AppDirVersionURL>http://{{ settings.APPDIR_HOST }}/AppDirectory/GetAppdirVersion.aspx</AppDirVersionURL>
|
||||
</AppDirConfig>
|
||||
<Contacts>
|
||||
<ABPendingRequests>
|
||||
<SiteId>73625</SiteId>
|
||||
<height>672</height>
|
||||
<IncludeSNRequests>true</IncludeSNRequests>
|
||||
<width>808</width>
|
||||
<urlcid>http://cid-%1!16.16I64X!.profile.live.com/invites?partner=Messenger</urlcid>
|
||||
</ABPendingRequests>
|
||||
<EditMyLiveContactProfile>
|
||||
<url>http://{{ settings.SOCIAL_HOST }}/profile.aspx?action=edit&mode=activecontacts&mkt=en-us&partner=Messenger</url>
|
||||
<SiteId>73625</SiteId>
|
||||
</EditMyLiveContactProfile>
|
||||
<EditMyProfile>
|
||||
<url>http://profile.live.com/details</url>
|
||||
<SiteId>73625</SiteId>
|
||||
</EditMyProfile>
|
||||
<Import>
|
||||
<url>http://cid-%1!16.16I64X!.profile.live.com/connect/?partner=Messenger</url>
|
||||
<SiteId>73625</SiteId>
|
||||
</Import>
|
||||
<MessengerInvite>
|
||||
<url>http://cid-%1.profile.live.com/connect/send.aspx?email=%2</url>
|
||||
<urlcid>http://cid-%1.profile.live.com/connect/send.aspx?cid=%2</urlcid>
|
||||
<SiteId>73625</SiteId>
|
||||
</MessengerInvite>
|
||||
<Profile>
|
||||
<url>http://{{ settings.SOCIAL_HOST }}/Profile.aspx?partner=Messenger&mkt=en-us&mem=%ls</url>
|
||||
<urlcid>http://{{ settings.SOCIAL_HOST }}/Profile.aspx?partner=Messenger&mkt=en-us&cid=%ls</urlcid>
|
||||
<urlcid2>http://cid-%1!16.16I64X!.profile.live.com</urlcid2>
|
||||
<SiteId>73625</SiteId>
|
||||
</Profile>
|
||||
<SNInvites>
|
||||
<url>http://cid-%1.profile.live.com/connect/Messenger.aspx?Email=%2</url>
|
||||
<urlcid>http://cid-%1.profile.live.com/connect/Messenger.aspx?cid=0x%2</urlcid>
|
||||
<SiteId>73625</SiteId>
|
||||
</SNInvites>
|
||||
<ViewMapEnabled>true</ViewMapEnabled>
|
||||
</Contacts>
|
||||
<ContactCard>
|
||||
<AddToMySpaceSiteId>45930</AddToMySpaceSiteId>
|
||||
<AddToMySpaceUrl>http://{{ settings.SOCIAL_HOST }}/?addblogentry=true&mkt=nl-nl</AddToMySpaceUrl>
|
||||
<ContactCardDisabled>false</ContactCardDisabled>
|
||||
<CreateSpaceSiteId>45930</CreateSpaceSiteId>
|
||||
<CreateSpaceUrl>http://{{ settings.SOCIAL_HOST }}/signup.aspx?mkt=nl-nl</CreateSpaceUrl>
|
||||
<GetItemVerUrl>http://ctas.storage.ugnet.gay/storageservice/schematizedstore.asmx</GetItemVerUrl>
|
||||
<GetXmlFeedUrl>http://{{ settings.SOCIAL_HOST }}/contactcard/contactcardservice.asmx</GetXmlFeedUrl>
|
||||
<MySpaceSiteId>45930</MySpaceSiteId>
|
||||
<MySpaceUrl>http://{{ settings.SOCIAL_HOST }}/homepage.aspx</MySpaceUrl>
|
||||
<SpaceBaseSiteId>45930</SpaceBaseSiteId>
|
||||
<SpaceBaseUrl>http://{{ settings.SOCIAL_HOST }}</SpaceBaseUrl>
|
||||
<SpaceIntegrationEnabled>true</SpaceIntegrationEnabled>
|
||||
</ContactCard>
|
||||
<FlashUpgradeURL>http://{{ settings.STORAGE_HOST }}/crosstalk-dist/client/all/tools/flashplayer_10_3r183_48_winax.exe</FlashUpgradeURL>
|
||||
<GLinkMarket v="en_us" />
|
||||
<LiveFolders UpsellMessageId="1" />
|
||||
<MessengerBlogURL>https://{{ settings.WEBSITE_HOST }}/blog</MessengerBlogURL>
|
||||
<MSNSearch>
|
||||
<DesktopInstallURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</DesktopInstallURL>
|
||||
<ImagesURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=images</ImagesURL>
|
||||
<NearMeURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</NearMeURL>
|
||||
<NewsURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$+news&ia=news</NewsURL>
|
||||
<PeopleSearchURL>http://home.live.com/search?query=$QUERY$</PeopleSearchURL>
|
||||
<PeopleSearchSiteID>73625</PeopleSearchSiteID>
|
||||
<SearchKidsURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</SearchKidsURL>
|
||||
<SearchURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</SearchURL>
|
||||
<SharedSearchURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</SharedSearchURL>
|
||||
<SharedSearchURL2>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</SharedSearchURL2>
|
||||
</MSNSearch>
|
||||
<MsnTodayConfig>
|
||||
<MsnTodaySiteID>6528</MsnTodaySiteID>
|
||||
<MsnTodayURL>http://{{ settings.TODAY_HOST }}/start?wlm=1</MsnTodayURL>
|
||||
<Flags>2</Flags>
|
||||
</MsnTodayConfig>
|
||||
<MusicIntegration URL="https://www.last.fm/search/tracks?q=$ARTIST$+$TITLE$"/>
|
||||
<OneCare Enabled="0" />
|
||||
<PE Tracking=""/>
|
||||
<PremiumAV Visibility="1" />
|
||||
<PSTNOut Hidden="0" />
|
||||
<ReportAbuse>
|
||||
<ReportAbuseSID />
|
||||
<ReportAbuseURL>https://{{ settings.WEBSITE_HOST }}/report</ReportAbuseURL>
|
||||
</ReportAbuse>
|
||||
<RL>
|
||||
<ViewProfileURL>http://g.msn.com/5meen_us/106?%1&Plcid=%2!hs!&%3&Country=%4!hs!&BrandID=%5&passport=%6</ViewProfileURL>
|
||||
</RL>
|
||||
<SDrive Enabled="true" />
|
||||
<TermsOfUse>
|
||||
<TermsOfUseSID>956</TermsOfUseSID>
|
||||
<TermsOfUseURL>https://{{ settings.WEBSITE_HOST }}/tos</TermsOfUseURL>
|
||||
</TermsOfUse>
|
||||
<VoiceClip Hidden="0" />
|
||||
<VoiceVideo>
|
||||
<DisableSipProxyInviteTest>0</DisableSipProxyInviteTest>
|
||||
<DisableSipProxyCapability>0</DisableSipProxyCapability>
|
||||
<DisableSipProxyInvite>0</DisableSipProxyInvite>
|
||||
<DisableSipProxyCapability2>0</DisableSipProxyCapability2>
|
||||
<DisableSipProxyInvite2>0</DisableSipProxyInvite2>
|
||||
</VoiceVideo>
|
||||
<TabConfig>
|
||||
<RowNumber>1</RowNumber>
|
||||
<slots>
|
||||
{% for tab in tabs %}
|
||||
<URL id="{{ tab.id }}">
|
||||
https://{{ settings.AD_HOST }}/svcs/tab={{ tab.id }}
|
||||
</URL>
|
||||
{% endfor %}
|
||||
</slots>
|
||||
</TabConfig>
|
||||
</LocalizedConfig>
|
||||
</MsgrConfig>
|
||||
@@ -1,180 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<MsgrConfig>
|
||||
<Simple>
|
||||
<Config>
|
||||
<ExpiresInDays>0</ExpiresInDays>
|
||||
</Config>
|
||||
<DisablePhoneDialer>0</DisablePhoneDialer>
|
||||
<GetItemVersionForUnknown>false</GetItemVersionForUnknown>
|
||||
<MinFlashPlayer BuildNumber="28" MajorVersion="9" MinorVersion="0"/>
|
||||
<Relay>
|
||||
<Enabled>0</Enabled>
|
||||
<MaxCallLength>0</MaxCallLength>
|
||||
</Relay>
|
||||
<TrustedDomains>
|
||||
<domain name="hiden.cc"/>
|
||||
<domain name="ugnet.gay"/>
|
||||
<domain name="crosstalk.im"/>
|
||||
<domain name="ctsrv.gay"/>
|
||||
</TrustedDomains>
|
||||
<ErrorResponseTable>
|
||||
<Feature type="0" name="Login">
|
||||
<Entry hr="0x80072EE7" action="3"/>
|
||||
<Entry hr="0x81000306" action="3"/>
|
||||
<Entry hr="0x80072EFD" action="3"/>
|
||||
<Entry hr="0x81000362" action="3"/>
|
||||
<Entry hr="0x8100030E" action="3"/>
|
||||
<Entry hr="0x80072745" action="3"/>
|
||||
<Entry hr="0x800701F7" action="3"/>
|
||||
<Entry hr="0x80072EFF" action="3"/>
|
||||
<Entry hr="0x81000363" action="3"/>
|
||||
<Entry hr="0x81000395" action="3"/>
|
||||
<Entry hr="0x800B0001" action="3"/>
|
||||
<Entry hr="0x81000323" action="3"/>
|
||||
<Entry hr="0x80072F19" action="3"/>
|
||||
<Entry hr="0x800701F8" action="3"/>
|
||||
<Entry hr="0x80072746" action="3"/>
|
||||
<Entry hr="0x800701F6" action="3"/>
|
||||
<Entry hr="0x81000377" action="3"/>
|
||||
<Entry hr="0x81000314" action="3"/>
|
||||
<Entry hr="0x81000378" action="3"/>
|
||||
<Entry hr="0x80072EFF" action="3"/>
|
||||
<Entry hr="0x80070190" action="3"/>
|
||||
<Entry hr="0x80070197" action="3"/>
|
||||
<Entry hr="0x80048820" action="3"/>
|
||||
<Entry hr="0x80048829" action="3"/>
|
||||
<Entry hr="0x80048834" action="3"/>
|
||||
<Entry hr="0x80048852" action="3"/>
|
||||
<Entry hr="0x8004886a" action="3"/>
|
||||
<Entry hr="0x8004886b" action="3"/>
|
||||
</Feature>
|
||||
<Feature type="2" name="MapFile">
|
||||
<Entry hr="0x810003F0" action="3"/>
|
||||
<Entry hr="0x810003F1" action="3"/>
|
||||
<Entry hr="0x810003F2" action="3"/>
|
||||
<Entry hr="0x810003F3" action="3"/>
|
||||
<Entry hr="0x810003F4" action="3"/>
|
||||
<Entry hr="0x810003F5" action="3"/>
|
||||
<Entry hr="0x810003F6" action="3"/>
|
||||
<Entry hr="0x810003F7" action="3"/>
|
||||
</Feature>
|
||||
<Feature type="3" name="P2P">
|
||||
<Entry hr="0x82000012" action="3"/>
|
||||
<Entry hr="0x82000013" action="3"/>
|
||||
<Entry hr="0x82000016" action="3"/>
|
||||
<Entry hr="0x82000017" action="3"/>
|
||||
<Entry hr="0x82000018" action="3"/>
|
||||
<Entry hr="0x82000019" action="3"/>
|
||||
</Feature>
|
||||
</ErrorResponseTable>
|
||||
</Simple>
|
||||
<TabConfig>
|
||||
{tabs}
|
||||
</TabConfig>
|
||||
<AbchCfg>
|
||||
<abchconfig>
|
||||
<url>https://{{ settings.ADDRESSBOOK_HOST }}/abservice.asmx</url>
|
||||
</abchconfig>
|
||||
</AbchCfg>
|
||||
<LocalizedConfig Market="en-US">
|
||||
<AdMainConfig>
|
||||
<TextAdRefresh>1</TextAdRefresh>
|
||||
<TextAdServer>http://{{ settings.AD_HOST }}/ads/txt</TextAdServer>
|
||||
<AdBanner20URL Refresh="300">http://{{ settings.AD_HOST }}/ads/banner</AdBanner20URL>
|
||||
<StdAd AdVisible="60" VideoVisible="120" VideoDldIntvl="0">
|
||||
<VideoFeeds FeedsListURL="http://{{ settings.AD_HOST }}/svcs/msn-video-feeds/"/>
|
||||
</StdAd>
|
||||
</AdMainConfig>
|
||||
<AppDirConfig>
|
||||
<AppDirPageURL>http://{{ settings.APPDIR_HOST }}/AppDirectory/Directory.aspx?L=en-us</AppDirPageURL>
|
||||
<AppDirSeviceURL>http://{{ settings.APPDIR_HOST }}/AppDirectory/AppDirectory.asmx</AppDirSeviceURL>
|
||||
<AppDirVersionURL>http://{{ settings.APPDIR_HOST }}/AppDirectory/GetAppdirVersion.aspx</AppDirVersionURL>
|
||||
</AppDirConfig>
|
||||
<Contacts>
|
||||
<ABPendingRequests>
|
||||
<url>http://{{ settings.SOCIAL_HOST }}/PendingRequests.aspx?mkt=en-us&partner=Messenger</url>
|
||||
<siteid>73625</siteid>
|
||||
<height>672</height>
|
||||
<width>808</width>
|
||||
</ABPendingRequests>
|
||||
<BuddysSocialNetwork>
|
||||
<url>http://{{ settings.SOCIAL_HOST }}/NetworkExplorer.aspx?mkt=en-us&partner=Messenger&cid=%1</url>
|
||||
<siteid>73625</siteid>
|
||||
<height>674</height>
|
||||
<width>808</width>
|
||||
</BuddysSocialNetwork>
|
||||
<EditMyLiveContactProfile>
|
||||
<url>http://{{ settings.SOCIAL_HOST }}/profile.aspx?action=edit&mode=activecontacts&mkt=en-us&partner=Messenger</url>
|
||||
<siteid>73625</siteid>
|
||||
</EditMyLiveContactProfile>
|
||||
<EditMyProfile>
|
||||
<url>http://{{ settings.SOCIAL_HOST }}/profile.aspx?action=edit&partner=Messenger&mkt=en-us</url>
|
||||
<siteid>73625</siteid>
|
||||
</EditMyProfile>
|
||||
<Profile>
|
||||
<url>http://{{ settings.SOCIAL_HOST }}/Profile.aspx?partner=Messenger&mkt=en-us&mem=%ls</url>
|
||||
<urlcid>http://{{ settings.SOCIAL_HOST }}/Profile.aspx?partner=Messenger&mkt=en-us&cid=%ls</urlcid>
|
||||
<siteid>73625</siteid>
|
||||
</Profile>
|
||||
<SocialNetwork>
|
||||
<url>http://{{ settings.SOCIAL_HOST }}/NetworkSetup.aspx?mkt=en-us&partner=Messenger</url>
|
||||
<siteid>73625</siteid>
|
||||
<height>674</height>
|
||||
<width>808</width>
|
||||
</SocialNetwork>
|
||||
<ViewMapEnabled>false</ViewMapEnabled>
|
||||
</Contacts>
|
||||
<ContactCard>
|
||||
<AddToMySpaceSiteId>45930</AddToMySpaceSiteId>
|
||||
<AddToMySpaceUrl>http://{{ settings.SOCIAL_HOST }}/?addblogentry=true&mkt=nl-nl</AddToMySpaceUrl>
|
||||
<ContactCardDisabled>false</ContactCardDisabled>
|
||||
<CreateSpaceSiteId>45930</CreateSpaceSiteId>
|
||||
<CreateSpaceUrl>http://{{ settings.SOCIAL_HOST }}/signup.aspx?mkt=nl-nl</CreateSpaceUrl>
|
||||
<GetItemVerUrl>http://storage.msn.com/storageservice/schematizedstore.asmx</GetItemVerUrl>
|
||||
<GetXmlFeedUrl>http://services.{{ settings.SOCIAL_HOST }}/contactcard/contactcardservice.asmx</GetXmlFeedUrl>
|
||||
<MySpaceSiteId>45930</MySpaceSiteId>
|
||||
<MySpaceUrl>http://{{ settings.SOCIAL_HOST }}/homepage.aspx</MySpaceUrl>
|
||||
<SpaceBaseSiteId>45930</SpaceBaseSiteId>
|
||||
<SpaceBaseUrl>http://{{ settings.SOCIAL_HOST }}</SpaceBaseUrl>
|
||||
<SpaceIntegrationEnabled>true</SpaceIntegrationEnabled>
|
||||
</ContactCard>
|
||||
<FlashUpgradeURL>http://{{ settings.STORAGE_HOST }}/crosstalk-dist/client/all/tools/flashplayer_10_3r183_48_winax.exe</FlashUpgradeURL>
|
||||
<GLinkMarket v="en_us"/>
|
||||
<MessengerBlogURL>https://{{ settings.WEBSITE_HOST }}/blog</MessengerBlogURL>
|
||||
<MSNSearch>
|
||||
<ImagesURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=images</ImagesURL>
|
||||
<NewsURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$+news&ia=news</NewsURL>
|
||||
<SearchURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</SearchURL>
|
||||
<SharedSearchURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</SharedSearchURL>
|
||||
<SharedSearchURL2>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</SharedSearchURL2>
|
||||
</MSNSearch>
|
||||
<MsnTodayConfig>
|
||||
<MsnTodaySiteID>6528</MsnTodaySiteID>
|
||||
<MsnTodayURL>http://{{ settings.TODAY_HOST }}/start?wlm=1</MsnTodayURL>
|
||||
<Flags>2</Flags>
|
||||
</MsnTodayConfig>
|
||||
<MusicIntegration URL="https://www.last.fm/search/tracks?q=$ARTIST$+$TITLE$"/>
|
||||
<OneCare Enabled="0"/>
|
||||
<PSTNOut Hidden="1"/>
|
||||
<ReportAbuse>
|
||||
<ReportAbuseSID/>
|
||||
<ReportAbuseURL>https://{{ settings.WEBSITE_HOST }}/report</ReportAbuseURL>
|
||||
</ReportAbuse>
|
||||
<RL>
|
||||
<ViewProfileURL>https://{{ settings.WEBSITE_HOST }}/account/settings</ViewProfileURL>
|
||||
</RL>
|
||||
<SDrive Enabled="true"/>
|
||||
<TermsOfUse>
|
||||
<TermsOfUseSID>956</TermsOfUseSID>
|
||||
<TermsOfUseURL>https://{{ settings.WEBSITE_HOST }}/tos</TermsOfUseURL>
|
||||
</TermsOfUse>
|
||||
<VoiceClip Hidden="0"/>
|
||||
<VoiceVideo>
|
||||
<DisableSipProxyInviteTest>0</DisableSipProxyInviteTest>
|
||||
<DisableSipProxyCapability>0</DisableSipProxyCapability>
|
||||
<DisableSipProxyInvite>0</DisableSipProxyInvite>
|
||||
<DisableSipProxyCapability2>0</DisableSipProxyCapability2>
|
||||
<DisableSipProxyInvite2>0</DisableSipProxyInvite2>
|
||||
</VoiceVideo>
|
||||
</LocalizedConfig>
|
||||
</MsgrConfig>
|
||||
+348
-105
@@ -1,5 +1,73 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
{%- set is_wlm = variant in ('wlm8', 'wlm14', 'wlm16') -%}
|
||||
{%- set is_wlm14_up = variant in ('wlm14', 'wlm16') -%}
|
||||
{%- set search_url = 'https://searx.ugnet.xyz/searxng/search?q=$QUERY$' -%}
|
||||
{%- set trusted_domains = ('hiden.cc', 'ugnet.xyz', 'crosstalk.im', 'ctsrv.xyz') -%}
|
||||
|
||||
{%- set error_login_msn = [
|
||||
('0x80072EE7', 3), ('0x81000306', 3), ('0x80072EFD', 3), ('0x81000362', 3),
|
||||
('0x8100030E', 3), ('0x80072745', 3), ('0x800701F7', 3), ('0x80072EFF', 3),
|
||||
('0x81000363', 3), ('0x81000395', 3), ('0x800B0001', 3), ('0x81000323', 3),
|
||||
('0x80072F19', 3), ('0x800701F8', 3), ('0x80072746', 3), ('0x800701F6', 3),
|
||||
('0x81000377', 3), ('0x81000314', 3), ('0x81000378', 3), ('0x80072EFF', 3),
|
||||
('0x80070190', 3), ('0x80070197', 3), ('0x80048820', 3), ('0x80048829', 3),
|
||||
('0x80048834', 3), ('0x80048852', 3), ('0x8004886a', 3), ('0x8004886b', 3),
|
||||
] -%}
|
||||
{%- set error_login_wlm14 = [
|
||||
('0x80004002', 3), ('0x80004004', 3), ('0x80004005', 3), ('0x8000402A', 3),
|
||||
('0x8000FFFF', 3), ('0x8001012E', 3), ('0x80040200', 3), ('0x80048051', 3),
|
||||
('0x80048820', 3), ('0x80048823', 3), ('0x80070002', 3), ('0x80070005', 3),
|
||||
('0x8007000E', 3), ('0x80070057', 3), ('0x8007007E', 3), ('0x800702E4', 3),
|
||||
('0x800706BA', 3), ('0x800706BE', 3), ('0x80071392', 3), ('0x80072745', 3),
|
||||
('0x80072746', 3), ('0x80072EE2', 3), ('0x80072EF3', 3), ('0x80072EFD', 3),
|
||||
('0x80072EFF', 3), ('0x80072F06', 3), ('0x80072F7D', 3), ('0x800C013E', 3),
|
||||
('0x80191002', 3), ('0x81000306', 3), ('0x8100030D', 3), ('0x81000314', 3),
|
||||
('0x81000362', 3), ('0x81000378', 3), ('0x81000395', 3), ('0x85AE000B', 3),
|
||||
('0x85AE000F', 3), ('0x85AE001D', 3), ('0x85AE0022', 3), ('0x85AE0024', 3),
|
||||
('0x85AE0027', 3), ('0x85AE003C', 3), ('0x85AE0053', 3), ('0x8E5E0152', 3),
|
||||
('0x8E5E0158', 3), ('0x8E5E0211', 3), ('0x8E5E0220', 3), ('0x8E5E0226', 3),
|
||||
('0x8E5E03FE', 3), ('0x8E5E0408', 3), ('0x8E5E05F6', 3), ('0x8E5E0710', 3),
|
||||
('0x8E5E0713', 3),
|
||||
] -%}
|
||||
{%- set error_login_wlm16 = [
|
||||
('*', 3), ('0x81000605', 3), ('0x80048849', 5), ('0x8004882A', 5),
|
||||
('0x80048800', 5), ('0x8004889C', 5), ('0x80048831', 5), ('0x81000306', 5),
|
||||
('0x80048862', 5), ('0x800488EB', 5), ('0x80048848', 5), ('0x80004002', 3),
|
||||
('0x80004004', 3), ('0x80004005', 3), ('0x8000402A', 3), ('0x8000FFFF', 3),
|
||||
('0x8001012E', 3), ('0x80040200', 3), ('0x80048051', 3), ('0x80048820', 5),
|
||||
('0x80048823', 3), ('0x80070002', 3), ('0x80070005', 3), ('0x8007000E', 3),
|
||||
('0x80070057', 3), ('0x8007007E', 3), ('0x800702E4', 3), ('0x800706BA', 3),
|
||||
('0x800706BE', 3), ('0x80071392', 3), ('0x80072745', 3), ('0x80072746', 3),
|
||||
('0x80072EE2', 3), ('0x80072EF3', 3), ('0x80072EFD', 3), ('0x80072EFF', 3),
|
||||
('0x80072F06', 3), ('0x80072F7D', 3), ('0x800C013E', 3), ('0x80191002', 3),
|
||||
('0x8100030D', 3), ('0x81000314', 3), ('0x81000362', 3), ('0x81000378', 3),
|
||||
('0x81000395', 3), ('0x85AE000B', 3), ('0x85AE000F', 3), ('0x85AE001D', 3),
|
||||
('0x85AE0022', 3), ('0x85AE0024', 3), ('0x85AE0027', 3), ('0x85AE003C', 3),
|
||||
('0x85AE0053', 3), ('0x8E5E0152', 3), ('0x8E5E0158', 3), ('0x8E5E0211', 3),
|
||||
('0x8E5E0220', 3), ('0x8E5E0226', 3), ('0x8E5E03FE', 3), ('0x8E5E0408', 3),
|
||||
('0x8E5E05F6', 3), ('0x8E5E0710', 3), ('0x8E5E0713', 3),
|
||||
] -%}
|
||||
{%- set error_login = {'msn': error_login_msn, 'wlm8': error_login_msn, 'wlm14': error_login_wlm14, 'wlm16': error_login_wlm16} -%}
|
||||
{%- set error_mapfile_msn = [
|
||||
('0x810003F0', 3), ('0x810003F1', 3), ('0x810003F2', 3), ('0x810003F3', 3),
|
||||
('0x810003F4', 3), ('0x810003F5', 3), ('0x810003F6', 3), ('0x810003F7', 3),
|
||||
] -%}
|
||||
{%- set error_mapfile_wlm14 = [
|
||||
('0x810003F1', 3), ('0x810003F6', 3),
|
||||
] -%}
|
||||
{%- set error_mapfile = {'msn': error_mapfile_msn, 'wlm8': error_mapfile_msn, 'wlm14': error_mapfile_wlm14, 'wlm16': error_mapfile_wlm14} -%}
|
||||
{%- set error_p2p_wlm8 = [
|
||||
('0x82000012', 3), ('0x82000013', 3), ('0x82000016', 3), ('0x82000017', 3),
|
||||
('0x82000018', 3), ('0x82000019', 3),
|
||||
] -%}
|
||||
{%- set error_p2p_wlm14 = [
|
||||
('0x82000016', 3), ('0x82000017', 3), ('0x82000019', 3), ('0x8200001b', 3),
|
||||
('0x8200001d', 3), ('0x8200001e', 3), ('0x82000024', 3), ('0x82000026', 3),
|
||||
] -%}
|
||||
{%- set error_p2p = {'wlm8': error_p2p_wlm8, 'wlm14': error_p2p_wlm14, 'wlm16': error_p2p_wlm14} -%}
|
||||
|
||||
{%- macro msgr_config() -%}
|
||||
<MsgrConfig>
|
||||
{%- if variant == 'wlm16' %}
|
||||
<Brands>
|
||||
<Client v="def" bv="1.0.1.0">
|
||||
<b i="FT01" v="1.0.5.0" f="FT01_fr-fr_R4.cab" u="http://g.msn.com/0USWLPIT/9" p="FT01" />
|
||||
@@ -9,23 +77,33 @@
|
||||
<Client v="2" CDNVER="http://cba.domains.live.com/cdn1" CDNCAB="http://cba.domains.live.com/cdn3" CDNPRV="http://cba.domains.live.com/prvw" />
|
||||
<Client v="3" CDNVER="http://cba.domains.live.com/cdn1" CDNCAB="http://cba.domains.live.com/cdn3" CDNPRV="http://cba.domains.live.com/prvw" />
|
||||
</Brands>
|
||||
{%- endif %}
|
||||
<Simple>
|
||||
<Config>
|
||||
<ExpiresInDays>2</ExpiresInDays>
|
||||
<ExpiresInDays>{{ 2 if variant == 'wlm16' else 0 }}</ExpiresInDays>
|
||||
</Config>
|
||||
{%- if is_wlm14_up %}
|
||||
<P2PConfig>
|
||||
<ObjectStore>
|
||||
<SendDelay>1</SendDelay>
|
||||
</ObjectStore>
|
||||
</P2PConfig>
|
||||
<DisablePhoneDialer>1</DisablePhoneDialer>
|
||||
{%- endif %}
|
||||
<DisablePhoneDialer>{{ 0 if variant == 'wlm8' else 1 }}</DisablePhoneDialer>
|
||||
{%- if is_wlm %}
|
||||
<GetItemVersionForUnknown>false</GetItemVersionForUnknown>
|
||||
{%- endif %}
|
||||
<Logitech>
|
||||
<PremiumAVConfigServer>http://mplocate.spotlife.net/locate.sxml</PremiumAVConfigServer>
|
||||
<PremiumAVConfigServer>http://ms.msgrsvcs.ctsrv.xyz/locate.sxml</PremiumAVConfigServer>
|
||||
<PreRollEnabled>1</PreRollEnabled>
|
||||
<WebcamConfigServer>http://mlocate.spotlife.net/locate.sxml</WebcamConfigServer>
|
||||
<WebcamConfigServer>http://ms.msgrsvcs.ctsrv.xyz/locate.sxml</WebcamConfigServer>
|
||||
</Logitech>
|
||||
{%- if variant == 'msn' %}
|
||||
<MinFlashPlayer BuildNumber="60" MajorVersion="7" MinorVersion="0" />
|
||||
{%- else %}
|
||||
<MinFlashPlayer BuildNumber="28" MajorVersion="9" MinorVersion="0" />
|
||||
{%- endif %}
|
||||
{%- if variant == 'wlm16' %}
|
||||
<RadUrl Tracking="http://global.msads.net/ads/abuimg/%PACKID%.xml">http://rad.msn.com/ADSAdClient31.dll?GetAd?PG=</RadUrl>
|
||||
<ComScoreUrlFormat>http://b.scorecardresearch.com/p?c1=7&c2=3000001&c3=%1!d!&cj=1</ComScoreUrlFormat>
|
||||
<Relay>
|
||||
@@ -35,11 +113,25 @@
|
||||
<RelayDNS>avrelay.msn.com</RelayDNS>
|
||||
<TimeoutToFallback>7000</TimeoutToFallback>
|
||||
</Relay>
|
||||
{%- else %}
|
||||
<Relay>
|
||||
<Enabled>0</Enabled>
|
||||
<MaxCallLength>0</MaxCallLength>
|
||||
</Relay>
|
||||
{%- endif %}
|
||||
{%- if variant == 'wlm14' %}
|
||||
<Contacts>
|
||||
<Client ZombieServerDetectDelay="1800" ZombieServerDetectInterval="30" ZombieServerDetectResumeDelay="1800" />
|
||||
<Server ZombieServerDetectDelay="900" ZombieServerDetectResumeDelay="900" ZombieServerDetectConnectDelay="900" ZombieServerDetectLongDelay="900" />
|
||||
</Contacts>
|
||||
{%- elif variant == 'wlm16' %}
|
||||
<Contacts>
|
||||
<Client ZombieServerDetectDelay="1800" ZombieServerDetectInterval="30" ZombieServerDetectResumeDelay="1800" ZombieServerDetectDelayW4="180" ZombieServerDetectIntervalW4="30" ZombieServerDetectResumeDelayW4="180" />
|
||||
<Server ZombieServerDetectDelay="900" ZombieServerDetectResumeDelay="900" ZombieServerDetectConnectDelay="900" ZombieServerDetectLongDelay="900" ZombieServerDetectDelayW4="45" ZombieServerDetectResumeDelayW4="600" ZombieServerDetectConnectDelayW4="135" ZombieServerDetectLongDelayW4="450" />
|
||||
</Contacts>
|
||||
{%- endif %}
|
||||
<TrustedDomains>
|
||||
{%- if variant == 'wlm16' %}
|
||||
<domain name="bluemountaincards.co.uk" />
|
||||
<domain name="bluemountaincards.com.au" />
|
||||
<domain name="bmamessenger.com" />
|
||||
@@ -136,95 +228,42 @@
|
||||
<domain name="kiwee.com" />
|
||||
<domain name="live.mundijuegos.com" />
|
||||
<domain name="skype.com" />
|
||||
<domain name="hiden.cc"/>
|
||||
<domain name="ugnet.gay"/>
|
||||
<domain name="crosstalk.im"/>
|
||||
<domain name="ctsrv.gay"/>
|
||||
{%- endif %}
|
||||
{%- for domain in trusted_domains %}
|
||||
<domain name="{{ domain }}" />
|
||||
{%- endfor %}
|
||||
</TrustedDomains>
|
||||
<ErrorResponseTable>
|
||||
<Feature type="0" name="Login">
|
||||
<Entry hr="*" action="3" />
|
||||
<Entry hr="0x81000605" action="3" />
|
||||
<Entry hr="0x80048849" action="5" />
|
||||
<Entry hr="0x8004882A" action="5" />
|
||||
<Entry hr="0x80048800" action="5" />
|
||||
<Entry hr="0x8004889C" action="5" />
|
||||
<Entry hr="0x80048831" action="5" />
|
||||
<Entry hr="0x81000306" action="5" />
|
||||
<Entry hr="0x80048862" action="5" />
|
||||
<Entry hr="0x800488EB" action="5" />
|
||||
<Entry hr="0x80048848" action="5" />
|
||||
<Entry hr="0x80004002" action="3" />
|
||||
<Entry hr="0x80004004" action="3" />
|
||||
<Entry hr="0x80004005" action="3" />
|
||||
<Entry hr="0x8000402A" action="3" />
|
||||
<Entry hr="0x8000FFFF" action="3" />
|
||||
<Entry hr="0x8001012E" action="3" />
|
||||
<Entry hr="0x80040200" action="3" />
|
||||
<Entry hr="0x80048051" action="3" />
|
||||
<Entry hr="0x80048820" action="5" />
|
||||
<Entry hr="0x80048823" action="3" />
|
||||
<Entry hr="0x80070002" action="3" />
|
||||
<Entry hr="0x80070005" action="3" />
|
||||
<Entry hr="0x8007000E" action="3" />
|
||||
<Entry hr="0x80070057" action="3" />
|
||||
<Entry hr="0x8007007E" action="3" />
|
||||
<Entry hr="0x800702E4" action="3" />
|
||||
<Entry hr="0x800706BA" action="3" />
|
||||
<Entry hr="0x800706BE" action="3" />
|
||||
<Entry hr="0x80071392" action="3" />
|
||||
<Entry hr="0x80072745" action="3" />
|
||||
<Entry hr="0x80072746" action="3" />
|
||||
<Entry hr="0x80072EE2" action="3" />
|
||||
<Entry hr="0x80072EF3" action="3" />
|
||||
<Entry hr="0x80072EFD" action="3" />
|
||||
<Entry hr="0x80072EFF" action="3" />
|
||||
<Entry hr="0x80072F06" action="3" />
|
||||
<Entry hr="0x80072F7D" action="3" />
|
||||
<Entry hr="0x800C013E" action="3" />
|
||||
<Entry hr="0x80191002" action="3" />
|
||||
<Entry hr="0x8100030D" action="3" />
|
||||
<Entry hr="0x81000314" action="3" />
|
||||
<Entry hr="0x81000362" action="3" />
|
||||
<Entry hr="0x81000378" action="3" />
|
||||
<Entry hr="0x81000395" action="3" />
|
||||
<Entry hr="0x85AE000B" action="3" />
|
||||
<Entry hr="0x85AE000F" action="3" />
|
||||
<Entry hr="0x85AE001D" action="3" />
|
||||
<Entry hr="0x85AE0022" action="3" />
|
||||
<Entry hr="0x85AE0024" action="3" />
|
||||
<Entry hr="0x85AE0027" action="3" />
|
||||
<Entry hr="0x85AE003C" action="3" />
|
||||
<Entry hr="0x85AE0053" action="3" />
|
||||
<Entry hr="0x8E5E0152" action="3" />
|
||||
<Entry hr="0x8E5E0158" action="3" />
|
||||
<Entry hr="0x8E5E0211" action="3" />
|
||||
<Entry hr="0x8E5E0220" action="3" />
|
||||
<Entry hr="0x8E5E0226" action="3" />
|
||||
<Entry hr="0x8E5E03FE" action="3" />
|
||||
<Entry hr="0x8E5E0408" action="3" />
|
||||
<Entry hr="0x8E5E05F6" action="3" />
|
||||
<Entry hr="0x8E5E0710" action="3" />
|
||||
<Entry hr="0x8E5E0713" action="3" />
|
||||
{%- for hr, action in error_login[variant] %}
|
||||
<Entry hr="{{ hr }}" action="{{ action }}" />
|
||||
{%- endfor %}
|
||||
</Feature>
|
||||
<Feature type="2" name="MapFile">
|
||||
<Entry hr="0x810003F1" action="3" />
|
||||
<Entry hr="0x810003F6" action="3" />
|
||||
{%- for hr, action in error_mapfile[variant] %}
|
||||
<Entry hr="{{ hr }}" action="{{ action }}" />
|
||||
{%- endfor %}
|
||||
</Feature>
|
||||
{%- if variant in error_p2p %}
|
||||
<Feature type="3" name="P2P">
|
||||
<Entry hr="0x82000016" action="3" />
|
||||
<Entry hr="0x82000017" action="3" />
|
||||
<Entry hr="0x82000019" action="3" />
|
||||
<Entry hr="0x8200001b" action="3" />
|
||||
<Entry hr="0x8200001d" action="3" />
|
||||
<Entry hr="0x8200001e" action="3" />
|
||||
<Entry hr="0x82000024" action="3" />
|
||||
<Entry hr="0x82000026" action="3" />
|
||||
{%- for hr, action in error_p2p[variant] %}
|
||||
<Entry hr="{{ hr }}" action="{{ action }}" />
|
||||
{%- endfor %}
|
||||
</Feature>
|
||||
{%- endif %}
|
||||
{%- if variant == 'wlm16' %}
|
||||
<Feature type="5" name="VoiceVideo">
|
||||
<Entry hr="*" action="3" />
|
||||
</Feature>
|
||||
{%- endif %}
|
||||
</ErrorResponseTable>
|
||||
{%- if variant == 'wlm14' %}
|
||||
<USBDevices>
|
||||
<Device VID="0x045e" PID="0x0719"/>
|
||||
<Device VID="0x045e" PID="0x0722"/>
|
||||
<Device VID="0x041e" PID="0x4080"/>
|
||||
</USBDevices>
|
||||
{%- elif variant == 'wlm16' %}
|
||||
<USBDevices>
|
||||
<Device VID="0x045e" PID="0x0719" />
|
||||
<Device VID="0x045e" PID="0x070F" />
|
||||
@@ -238,10 +277,14 @@
|
||||
<VoiceVideo>
|
||||
<Log PeerLogDisable="1" />
|
||||
</VoiceVideo>
|
||||
{%- endif %}
|
||||
{%- if is_wlm14_up %}
|
||||
<CirclesWeb General="https://{{ settings.WEBSITE_HOST }}/circles/$CIRCLECID$/settings/" General-SiteId="73625" Management="https://{{ settings.WEBSITE_HOST }}/circles/$CIRCLECID$/settings/" Management-SiteId="73625" Membership="https://{{ settings.WEBSITE_HOST }}/circles/$CIRCLECID$/settings/" Membership-SiteId="73625" Leave="https://{{ settings.WEBSITE_HOST }}/circles/$CIRCLECID$/settings/" Leave-SiteId="73625" Disc="https://{{ settings.WEBSITE_HOST }}" />
|
||||
<AnonymousIMSettings>
|
||||
<SettingsPage URL="http://settings.messenger.live.com/applications/WebSettings.aspx" SiteID="76215" />
|
||||
</AnonymousIMSettings>
|
||||
{%- endif %}
|
||||
{%- if variant == 'wlm16' %}
|
||||
<SocialNews>
|
||||
<ActivityDisplay PageSize="50" MaxItems="100" />
|
||||
<AlbumDisplay UnderlayImages="2" LeadUnderlayImages="2" />
|
||||
@@ -491,39 +534,135 @@
|
||||
<Entry Flags="10" Options="1" VendorId="8086" Minimum="8.15.10.2104" Version="8.15.10.2142" />
|
||||
</List>
|
||||
</HwBlockList>
|
||||
{%- endif %}
|
||||
</Simple>
|
||||
{%- if variant in ('msn', 'wlm8') %}
|
||||
<TabConfig>
|
||||
{% include 'msn:svcs/svcs_tabs.xml' %}
|
||||
</TabConfig>
|
||||
{%- endif %}
|
||||
<AbchCfg>
|
||||
<abchconfig>
|
||||
<url>https://{{ settings.ADDRESSBOOK_HOST }}/abservice.asmx</url>
|
||||
</abchconfig>
|
||||
</AbchCfg>
|
||||
{%- if variant == 'wlm16' %}
|
||||
<AdMainConfig>
|
||||
<AdDownloadTimeInMinutes>120</AdDownloadTimeInMinutes>
|
||||
<AdMainCfg>http://{{ settings.AD_HOST }}/ads/banner</AdMainCfg>
|
||||
</AdMainConfig>
|
||||
<AdPhoneConfig>http://{{ settings.AD_HOST }}/ads/banner</AdPhoneConfig>
|
||||
{%- endif %}
|
||||
<LocalizedConfig Market="en-US">
|
||||
<AdMainConfig>
|
||||
{%- if variant == 'wlm16' %}
|
||||
<AdBanner20URL Refresh="390">http://{{ settings.AD_HOST }}/ads/banner</AdBanner20URL>
|
||||
<AdBanner300URL Refresh="390" FooterPane="AlwaysShown">http://{{ settings.AD_HOST }}/ads/banner-lg</AdBanner300URL>
|
||||
<ConvoWinAd AdVisible="420" FooterPane="CollapsibleAndHideable" />
|
||||
<ConvoWinAdBannerURL>http://{{ settings.AD_HOST }}/ads/banner</ConvoWinAdBannerURL>
|
||||
{%- else %}
|
||||
<AdBanner20URL Refresh="300">http://{{ settings.AD_HOST }}/ads/banner</AdBanner20URL>
|
||||
{%- endif %}
|
||||
{%- if is_wlm %}
|
||||
<StdAd AdVisible="60" VideoVisible="120" VideoDldIntvl="0">
|
||||
<VideoFeeds FeedsListURL="http://{{ settings.AD_HOST }}/svcs/msn-video-feeds/"/>
|
||||
<VideoFeeds FeedsListURL="http://{{ settings.AD_HOST }}/svcs/msn-video-feeds/" />
|
||||
</StdAd>
|
||||
{%- endif %}
|
||||
{%- if is_wlm14_up %}
|
||||
<TextAdRotation>420</TextAdRotation>
|
||||
{%- endif %}
|
||||
<TextAdRefresh>1</TextAdRefresh>
|
||||
<TextAdServer>https://{{ settings.AD_HOST }}/ads/txt</TextAdServer>
|
||||
<TextAdServer>{{ 'https' if variant == 'wlm16' else 'http' }}://{{ settings.AD_HOST }}/ads/txt</TextAdServer>
|
||||
{%- if variant == 'wlm16' %}
|
||||
<Window Size="680" />
|
||||
{%- endif %}
|
||||
</AdMainConfig>
|
||||
<AppDirConfig>
|
||||
<AppDirPageURL>https://{{ settings.APPDIR_HOST }}/AppDirectory/Directory.aspx?L=en-us</AppDirPageURL>
|
||||
<AppDirSeviceURL>https://{{ settings.APPDIR_HOST }}/AppDirectory/AppDirectory.asmx</AppDirSeviceURL>
|
||||
<AppDirVersionURL>https://{{ settings.APPDIR_HOST }}/AppDirectory/GetAppdirVersion.aspx</AppDirVersionURL>
|
||||
{%- set appdir = ('https' if variant == 'wlm16' else 'http') ~ '://' ~ settings.APPDIR_HOST ~ '/AppDirectory' %}
|
||||
<AppDirPageURL>{{ appdir }}/Directory.aspx?L=en-us</AppDirPageURL>
|
||||
<AppDirSeviceURL>{{ appdir }}/AppDirectory.asmx</AppDirSeviceURL>
|
||||
<AppDirVersionURL>{{ appdir }}/GetAppdirVersion.aspx</AppDirVersionURL>
|
||||
</AppDirConfig>
|
||||
{%- if variant == 'wlm16' %}
|
||||
<AVPrerollAd FetchTimeout="6900" IntroLength="3000" MinAdLength="7000" URL="http://rad.msn.com/ADSAdClient31.dll?GetAd=&PG=IMUSV1" />
|
||||
<AVPrerollAd2 FetchTimeout="6900" IntroLength="0" MinAdLength="7000" URL="http://rad.msn.com/ADSAdClient31.dll?GetAd=&PG=IMUVD1" />
|
||||
<BuyWebcamLink URL="http://www.logitech.com/msn/index.cfm?c=US&l=EN" />
|
||||
{%- endif %}
|
||||
{%- if variant == 'wlm8' %}
|
||||
<Contacts>
|
||||
<ABPendingRequests>
|
||||
<url>http://{{ settings.SOCIAL_HOST }}/PendingRequests.aspx?mkt=en-us&partner=Messenger</url>
|
||||
<siteid>73625</siteid>
|
||||
<height>672</height>
|
||||
<width>808</width>
|
||||
</ABPendingRequests>
|
||||
<BuddysSocialNetwork>
|
||||
<url>http://{{ settings.SOCIAL_HOST }}/NetworkExplorer.aspx?mkt=en-us&partner=Messenger&cid=%1</url>
|
||||
<siteid>73625</siteid>
|
||||
<height>674</height>
|
||||
<width>808</width>
|
||||
</BuddysSocialNetwork>
|
||||
<EditMyLiveContactProfile>
|
||||
<url>http://{{ settings.SOCIAL_HOST }}/profile.aspx?action=edit&mode=activecontacts&mkt=en-us&partner=Messenger</url>
|
||||
<siteid>73625</siteid>
|
||||
</EditMyLiveContactProfile>
|
||||
<EditMyProfile>
|
||||
<url>http://{{ settings.SOCIAL_HOST }}/profile.aspx?action=edit&partner=Messenger&mkt=en-us</url>
|
||||
<siteid>73625</siteid>
|
||||
</EditMyProfile>
|
||||
<Profile>
|
||||
<url>http://{{ settings.SOCIAL_HOST }}/Profile.aspx?partner=Messenger&mkt=en-us&mem=%ls</url>
|
||||
<urlcid>http://{{ settings.SOCIAL_HOST }}/Profile.aspx?partner=Messenger&mkt=en-us&cid=%ls</urlcid>
|
||||
<siteid>73625</siteid>
|
||||
</Profile>
|
||||
<SocialNetwork>
|
||||
<url>http://{{ settings.SOCIAL_HOST }}/NetworkSetup.aspx?mkt=en-us&partner=Messenger</url>
|
||||
<siteid>73625</siteid>
|
||||
<height>674</height>
|
||||
<width>808</width>
|
||||
</SocialNetwork>
|
||||
<ViewMapEnabled>false</ViewMapEnabled>
|
||||
</Contacts>
|
||||
{%- elif variant == 'wlm14' %}
|
||||
<Contacts>
|
||||
<ABPendingRequests>
|
||||
<SiteId>73625</SiteId>
|
||||
<height>672</height>
|
||||
<IncludeSNRequests>true</IncludeSNRequests>
|
||||
<width>808</width>
|
||||
<urlcid>http://cid-%1!16.16I64X!.profile.live.com/invites?partner=Messenger</urlcid>
|
||||
</ABPendingRequests>
|
||||
<EditMyLiveContactProfile>
|
||||
<url>http://{{ settings.SOCIAL_HOST }}/profile.aspx?action=edit&mode=activecontacts&mkt=en-us&partner=Messenger</url>
|
||||
<SiteId>73625</SiteId>
|
||||
</EditMyLiveContactProfile>
|
||||
<EditMyProfile>
|
||||
<url>http://profile.live.com/details</url>
|
||||
<SiteId>73625</SiteId>
|
||||
</EditMyProfile>
|
||||
<Import>
|
||||
<url>http://cid-%1!16.16I64X!.profile.live.com/connect/?partner=Messenger</url>
|
||||
<SiteId>73625</SiteId>
|
||||
</Import>
|
||||
<MessengerInvite>
|
||||
<url>http://cid-%1.profile.live.com/connect/send.aspx?email=%2</url>
|
||||
<urlcid>http://cid-%1.profile.live.com/connect/send.aspx?cid=%2</urlcid>
|
||||
<SiteId>73625</SiteId>
|
||||
</MessengerInvite>
|
||||
<Profile>
|
||||
<url>http://{{ settings.SOCIAL_HOST }}/Profile.aspx?partner=Messenger&mkt=en-us&mem=%ls</url>
|
||||
<urlcid>http://{{ settings.SOCIAL_HOST }}/Profile.aspx?partner=Messenger&mkt=en-us&cid=%ls</urlcid>
|
||||
<urlcid2>http://cid-%1!16.16I64X!.profile.live.com</urlcid2>
|
||||
<SiteId>73625</SiteId>
|
||||
</Profile>
|
||||
<SNInvites>
|
||||
<url>http://cid-%1.profile.live.com/connect/Messenger.aspx?Email=%2</url>
|
||||
<urlcid>http://cid-%1.profile.live.com/connect/Messenger.aspx?cid=0x%2</urlcid>
|
||||
<SiteId>73625</SiteId>
|
||||
</SNInvites>
|
||||
<ViewMapEnabled>true</ViewMapEnabled>
|
||||
</Contacts>
|
||||
{%- elif variant == 'wlm16' %}
|
||||
<Contacts>
|
||||
<ABPendingRequests>
|
||||
<SiteId>73625</SiteId>
|
||||
@@ -613,6 +752,28 @@
|
||||
</ViewPhotosWLPersonURL>
|
||||
<ViewMapEnabled>true</ViewMapEnabled>
|
||||
</Contacts>
|
||||
{%- endif %}
|
||||
{%- if variant in ('wlm8', 'wlm14') %}
|
||||
<ContactCard>
|
||||
<AddToMySpaceSiteId>45930</AddToMySpaceSiteId>
|
||||
<AddToMySpaceUrl>http://{{ settings.SOCIAL_HOST }}/?addblogentry=true&mkt=nl-nl</AddToMySpaceUrl>
|
||||
<ContactCardDisabled>false</ContactCardDisabled>
|
||||
<CreateSpaceSiteId>45930</CreateSpaceSiteId>
|
||||
<CreateSpaceUrl>http://{{ settings.SOCIAL_HOST }}/signup.aspx?mkt=nl-nl</CreateSpaceUrl>
|
||||
{%- if variant == 'wlm8' %}
|
||||
<GetItemVerUrl>http://storage.msn.com/storageservice/schematizedstore.asmx</GetItemVerUrl>
|
||||
<GetXmlFeedUrl>http://services.{{ settings.SOCIAL_HOST }}/contactcard/contactcardservice.asmx</GetXmlFeedUrl>
|
||||
{%- else %}
|
||||
<GetItemVerUrl>http://ctas.storage.ugnet.xyz/storageservice/schematizedstore.asmx</GetItemVerUrl>
|
||||
<GetXmlFeedUrl>http://{{ settings.SOCIAL_HOST }}/contactcard/contactcardservice.asmx</GetXmlFeedUrl>
|
||||
{%- endif %}
|
||||
<MySpaceSiteId>45930</MySpaceSiteId>
|
||||
<MySpaceUrl>http://{{ settings.SOCIAL_HOST }}/homepage.aspx</MySpaceUrl>
|
||||
<SpaceBaseSiteId>45930</SpaceBaseSiteId>
|
||||
<SpaceBaseUrl>http://{{ settings.SOCIAL_HOST }}</SpaceBaseUrl>
|
||||
<SpaceIntegrationEnabled>true</SpaceIntegrationEnabled>
|
||||
</ContactCard>
|
||||
{%- elif variant == 'wlm16' %}
|
||||
<ContactCard>
|
||||
<AddToMySpaceSiteId>73625</AddToMySpaceSiteId>
|
||||
<AddToMySpaceUrl>http://{{ settings.SOCIAL_HOST }}/?addblogentry=true&mkt=en-us</AddToMySpaceUrl>
|
||||
@@ -630,12 +791,20 @@
|
||||
<SpaceIntegrationEnabled>true</SpaceIntegrationEnabled>
|
||||
</ContactCard>
|
||||
<EditorialConfig>http://www.msn.com/infopane/messenger.armx</EditorialConfig>
|
||||
{%- endif %}
|
||||
{%- if is_wlm %}
|
||||
<FlashUpgradeURL>http://{{ settings.STORAGE_HOST }}/crosstalk-dist/client/all/tools/flashplayer_10_3r183_48_winax.exe</FlashUpgradeURL>
|
||||
{%- endif %}
|
||||
{%- if variant == 'wlm16' %}
|
||||
<FSS>
|
||||
<SiteID>71659</SiteID>
|
||||
<AddBuddyURL>https://fss.live.com/krl/AddContact.aspx</AddBuddyURL>
|
||||
</FSS>
|
||||
{%- endif %}
|
||||
{%- if is_wlm %}
|
||||
<GLinkMarket v="en_us" />
|
||||
{%- endif %}
|
||||
{%- if variant == 'wlm16' %}
|
||||
<Highlight>
|
||||
<FirstRunURLSet>
|
||||
<FirstRunURL id="1">
|
||||
@@ -659,31 +828,60 @@
|
||||
</Wave>
|
||||
</Highlight>
|
||||
<IntroConfig />
|
||||
{%- endif %}
|
||||
{%- if is_wlm14_up %}
|
||||
<LiveFolders UpsellMessageId="1" />
|
||||
{%- endif %}
|
||||
{%- if variant == 'wlm16' %}
|
||||
<Marketplace>
|
||||
<General URL="http://www.microsoft.com/windowslivedevices/marketplace/default.aspx" />
|
||||
<Webcam URL="http://www.microsoft.com/windowslivedevices/marketplace/default.aspx" />
|
||||
</Marketplace>
|
||||
{%- endif %}
|
||||
{%- if is_wlm %}
|
||||
<MessengerBlogURL>https://{{ settings.WEBSITE_HOST }}/blog</MessengerBlogURL>
|
||||
{%- endif %}
|
||||
{%- if variant == 'wlm16' %}
|
||||
<MobileMessaging Mode="RPPNew" CarrierList="" CrossSell="1" CharMax="140" MainWindowButton="true" OperatorPage="http://get.live.com/messenger/mobile" ValidRoutes="US;CA" />
|
||||
{%- endif %}
|
||||
<MSNSearch>
|
||||
<DesktopInstallURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</DesktopInstallURL>
|
||||
<ImagesURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=images</ImagesURL>
|
||||
<NearMeURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</NearMeURL>
|
||||
<NewsURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$+news&ia=news</NewsURL>
|
||||
{%- if variant != 'wlm8' %}
|
||||
<DesktopInstallURL>{{ search_url }}&ia=web</DesktopInstallURL>
|
||||
{%- endif %}
|
||||
<ImagesURL>{{ search_url }}&ia=images</ImagesURL>
|
||||
{%- if variant != 'wlm8' %}
|
||||
<NearMeURL>{{ search_url }}&ia=web</NearMeURL>
|
||||
{%- endif %}
|
||||
<NewsURL>{{ search_url }}+news&ia=news</NewsURL>
|
||||
{%- if is_wlm14_up %}
|
||||
<PeopleSearchURL>http://home.live.com/search?query=$QUERY$</PeopleSearchURL>
|
||||
<PeopleSearchSiteID>73625</PeopleSearchSiteID>
|
||||
<SearchKidsURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</SearchKidsURL>
|
||||
<SearchURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</SearchURL>
|
||||
<SharedSearchURL>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</SharedSearchURL>
|
||||
<SharedSearchURL2>https://searx.ugnet.gay/searxng/search?q=$QUERY$&ia=web</SharedSearchURL2>
|
||||
{%- endif %}
|
||||
{%- if variant != 'wlm8' %}
|
||||
<SearchKidsURL>{{ search_url }}&ia=web</SearchKidsURL>
|
||||
{%- endif %}
|
||||
<SearchURL>{{ search_url }}&ia=web</SearchURL>
|
||||
<SharedSearchURL>{{ search_url }}&ia=web</SharedSearchURL>
|
||||
<SharedSearchURL2>{{ search_url }}&ia=web</SharedSearchURL2>
|
||||
</MSNSearch>
|
||||
<MsnTodayConfig>
|
||||
{%- if variant == 'msn' %}
|
||||
<MsnTodayURL>http://{{ settings.TODAY_HOST }}/start?msn=1</MsnTodayURL>
|
||||
{%- else %}
|
||||
<MsnTodaySiteID>6528</MsnTodaySiteID>
|
||||
{%- if variant == 'wlm16' %}
|
||||
<MsnTodayURL>https://{{ settings.TODAY_HOST }}/start?windowslive=1</MsnTodayURL>
|
||||
{%- else %}
|
||||
<MsnTodayURL>http://{{ settings.TODAY_HOST }}/start?wlm=1</MsnTodayURL>
|
||||
{%- endif %}
|
||||
<Flags>2</Flags>
|
||||
{%- endif %}
|
||||
</MsnTodayConfig>
|
||||
<MusicIntegration URL="https://www.last.fm/search/tracks?q=$ARTIST$+$TITLE$"/>
|
||||
<MusicIntegration URL="https://www.last.fm/search/tracks?q=$ARTIST$+$TITLE$" />
|
||||
{%- if variant in ('wlm8', 'wlm14') %}
|
||||
<OneCare Enabled="0" />
|
||||
{%- endif %}
|
||||
{%- if variant == 'wlm16' %}
|
||||
<PartnerFeeds>
|
||||
<Feed Name="MSN" URL="https://{{ settings.TODAY_HOST }}/start?windowslive=1" Owner="MSN" />
|
||||
<Feed Name="GAMES" URL="http://windowsphone.xbox.com/en-US/MessengerGames/TabConfig" Owner="GAMES" />
|
||||
@@ -692,9 +890,19 @@
|
||||
<Feed Name="MSN" URL="https://{{ settings.TODAY_HOST }}/start?windowslive=1" Owner="MSN" />
|
||||
<Feed Name="GAMES" URL="http://windowsphone.xbox.com/en-US/MessengerGames/TabConfig" Owner="GAMES" />
|
||||
</PartnerFeedsSSL>
|
||||
{%- endif %}
|
||||
{%- if variant == 'wlm14' %}
|
||||
<PE Tracking="" />
|
||||
{%- elif variant == 'wlm16' %}
|
||||
<PE Tracking="http://trackingw4.technodesignip.com/?ContentID=$ContentID$&Click=$Click$" />
|
||||
{%- endif %}
|
||||
{%- if is_wlm14_up %}
|
||||
<PremiumAV Visibility="1" />
|
||||
<PSTNOut Hidden="0" />
|
||||
{%- endif %}
|
||||
{%- if is_wlm %}
|
||||
<PSTNOut Hidden="{{ 1 if variant == 'wlm8' else 0 }}" />
|
||||
{%- endif %}
|
||||
{%- if variant == 'wlm16' %}
|
||||
<PublicFederated>
|
||||
<YahooNetwork Enabled="true" OfflineIM="true" />
|
||||
</PublicFederated>
|
||||
@@ -704,10 +912,23 @@
|
||||
<BiciReportAbuseApiUrl>https://home.live.com/handlers/ReportAbuse.mvc</BiciReportAbuseApiUrl>
|
||||
<BiciReportAbuseApiServiceTarget>{{ settings.SOCIAL_HOST }}</BiciReportAbuseApiServiceTarget>
|
||||
</ReportAbuse>
|
||||
{%- elif is_wlm %}
|
||||
<ReportAbuse>
|
||||
<ReportAbuseSID />
|
||||
<ReportAbuseURL>https://{{ settings.WEBSITE_HOST }}/report</ReportAbuseURL>
|
||||
</ReportAbuse>
|
||||
{%- endif %}
|
||||
<RL>
|
||||
{%- if is_wlm14_up %}
|
||||
<ViewProfileURL>http://g.msn.com/5meen_us/106?%1&Plcid=%2!hs!&%3&Country=%4!hs!&BrandID=%5&passport=%6</ViewProfileURL>
|
||||
{%- else %}
|
||||
<ViewProfileURL>https://{{ settings.WEBSITE_HOST }}/account/settings</ViewProfileURL>
|
||||
{%- endif %}
|
||||
</RL>
|
||||
{%- if is_wlm %}
|
||||
<SDrive Enabled="true" />
|
||||
{%- endif %}
|
||||
{%- if variant == 'wlm16' %}
|
||||
<ServiceAwareness>
|
||||
<FindMoreUrl>http://cid-%1!16.16I64X!.profile.live.com/Services/</FindMoreUrl>
|
||||
<FindMoreSiteId>73625</FindMoreSiteId>
|
||||
@@ -745,20 +966,22 @@
|
||||
<SocialToast>
|
||||
<SuppressedEmailDomain>windowslivemail.com</SuppressedEmailDomain>
|
||||
</SocialToast>
|
||||
{%- endif %}
|
||||
{%- if is_wlm14_up %}
|
||||
<TabConfig>
|
||||
<RowNumber>1</RowNumber>
|
||||
<slots>
|
||||
{% for tab in tabs %}
|
||||
<URL id="{{ tab.id }}">
|
||||
https://{{ settings.AD_HOST }}/svcs/tab={{ tab.id }}
|
||||
</URL>
|
||||
{% endfor %}
|
||||
</slots>
|
||||
</TabConfig>
|
||||
{%- for tab in tabs %}
|
||||
<URL id="{{ tab.id }}">https://{{ settings.AD_HOST }}/svcs/tab={{ tab.id }}</URL>
|
||||
{%- endfor %}
|
||||
</slots>
|
||||
</TabConfig>
|
||||
{%- endif %}
|
||||
<TermsOfUse>
|
||||
<TermsOfUseSID>956</TermsOfUseSID>
|
||||
<TermsOfUseURL>https://{{ settings.WEBSITE_HOST }}/tos</TermsOfUseURL>
|
||||
</TermsOfUse>
|
||||
{%- if variant == 'wlm16' %}
|
||||
<UPUX>
|
||||
<Product id="8" PartnerID="TD" ProductName="Winks" BrandName="Quebles Winks">
|
||||
<BasePurchaseURL LaunchWindowType="Messenger" SiteID="60025" URL="http://www.mobilemoney.com/partners/msnmessenger/webshop/winks.asp?pos=chatwindow&contentID=$CONTENTID$" />
|
||||
@@ -789,6 +1012,8 @@
|
||||
<BasePurchaseURL LaunchWindowType="Messenger" SiteID="258666" URL="http://themepackfactory.windowslive.com/default.aspx?tpf.loc=WKGetThis&tpf.cid=$CONTENTID$" />
|
||||
</Product>
|
||||
</UPUX>
|
||||
{%- endif %}
|
||||
{%- if is_wlm %}
|
||||
<VoiceClip Hidden="0" />
|
||||
<VoiceVideo>
|
||||
<DisableSipProxyInviteTest>0</DisableSipProxyInviteTest>
|
||||
@@ -796,9 +1021,27 @@
|
||||
<DisableSipProxyInvite>0</DisableSipProxyInvite>
|
||||
<DisableSipProxyCapability2>0</DisableSipProxyCapability2>
|
||||
<DisableSipProxyInvite2>0</DisableSipProxyInvite2>
|
||||
{%- if variant == 'wlm16' %}
|
||||
<VideoMessages>
|
||||
<Config EnableRecording="1" Length="30" />
|
||||
</VideoMessages>
|
||||
{%- endif %}
|
||||
</VoiceVideo>
|
||||
{%- endif %}
|
||||
</LocalizedConfig>
|
||||
</MsgrConfig>
|
||||
</MsgrConfig>
|
||||
{%- endmacro -%}
|
||||
|
||||
{%- if soap -%}
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<soap:Body>
|
||||
<GetClientConfigResponse xmlns="http://www.msn.com/webservices/Messenger/Client">
|
||||
<GetClientConfigResult><![CDATA[{{ msgr_config() }}]]></GetClientConfigResult>
|
||||
</GetClientConfigResponse>
|
||||
</soap:Body>
|
||||
</soap:Envelope>
|
||||
{%- else -%}
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
{{ msgr_config() }}
|
||||
{%- endif -%}
|
||||
@@ -3,10 +3,10 @@
|
||||
When a certificate is rev'd, a line like the following should be
|
||||
added to the cfg:Settings section:
|
||||
<cfg:Certificate expired="true">SLCA_BACKUP.CER</cfg:Certificate>
|
||||
--><cfg:Settings><cfg:DeviceDNSSuffix>.devicedns.ugnet.gay</cfg:DeviceDNSSuffix><cfg:DeviceDNSSuffixOld></cfg:DeviceDNSSuffixOld><cfg:EIDEnumBCSP>Microsoft Base Smart Card Crypto Provider</cfg:EIDEnumBCSP><cfg:EIDEnumRootCAThumbprint>0tOOumDKocEgVaLhyDsVrUUBEMI=</cfg:EIDEnumRootCAThumbprint><cfg:UpdateNeededInterval>604800</cfg:UpdateNeededInterval><cfg:ResolveTimeout>0</cfg:ResolveTimeout><cfg:ConnectTimeout>10000</cfg:ConnectTimeout><cfg:SendTimeout>30000</cfg:SendTimeout><cfg:ReceiveTimeout>30000</cfg:ReceiveTimeout><cfg:MinMinutesBetweenMetaConfigCheck>1440</cfg:MinMinutesBetweenMetaConfigCheck><!--[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")]--><cfg:AndroidSsoCerts>sX6CAbEo4edMwCNRCrfqA6wn3eUNMtgQ6hV3dY8cwJg=,g2b69yfcSDF6LzoMN/oSfz81YZTPuy9LYo7H5qGnXA8=,uSUTbz6nwKGVFpChqzE5ENqB9AmUqFNC7GIoiPEocFE=,oHlCFSeKVn6IevbN4BWl6IQU72QPfas4VaPneWWL53g=,fVOTUco5wnynBkCeWptrBi25v43D2MqmE3Bnrn9otec=,KEg2GpweMt8dPi7Wp7nmelJc+KE7Fk+ABslHlXj3Rt4=,7r0PFuYpr4uDgb/t/dZJYF/pD3Y/XLe6Rz657vlNmvE=,Mb5ACW+THNfxHV4mLSssQ3xEOF+07LwQE9ladDWBb5w=,6EPuPaEZXWr7icqjznQnsI/AH9h4ok+lbpYsNccdXnA=,rQZmwqojBROk1Pc/okKkWGzY7WcmodDdVCUHcv2blgU=</cfg:AndroidSsoCerts><cfg:ConfigServerSslURI>https://go.microsoft.com/fwlink/?LinkId=690512</cfg:ConfigServerSslURI><cfg:ConfigServerCdnURI>http://go.microsoft.com/fwlink/?LinkId=253579</cfg:ConfigServerCdnURI><cfg:ConfigServerURI>http://clientconfig.passport.net/ppcrlconfig.srf</cfg:ConfigServerURI><cfg:TopNonFedDomains>@hotmail.,@msn.,@live.,@yahoo.,@gmail.,@windowslive.,@sympatico.,@aol.,@163.,@freemail.,@gmx.,@comcast.,@web.,@libero.,@wanadoo.,@sbcglobal.,@example.,@tiscali.,@126.,@mail.,@q.,@xiaoi.,@hanmail.,@walla.,@free.,@ppauthz.com,@compaq.,@hotmail.co.,@messengeruser.,@passport.,@webtv.</cfg:TopNonFedDomains><cfg:DIDCOMMetaData><cfg:DIDWithAuth>1</cfg:DIDWithAuth><cfg:AssocPDIDToLDID>1</cfg:AssocPDIDToLDID><cfg:Protocol><cfg:CLSID>{1C109E4C-2F30-4EA3-A57A-A290877A2303}</cfg:CLSID><cfg:DATA><![CDATA[<Input version="1" match="20"><Excluded><Controller>Win32_USBControllerDevice</Controller><Controller>Win32_1394ControllerDevice</Controller><Controller>Win32_PCMCIAControllerDevice</Controller><Controller>Win32_ConnectionShare</Controller></Excluded><Class name="Win32_PhysicalMedia" pos="1" hash="32" match="10"><Data>SerialNumber</Data></Class><Class name="Win32_NetworkAdapter" pos="2" hash="32" match="10"><Data>MACAddress</Data></Class><Class name="Win32_BIOS" pos="3" hash="32" match="10"><Data>Manufacturer</Data><Data>SerialNumber</Data></Class></Input>]]></cfg:DATA><cfg:PREFIX>01</cfg:PREFIX></cfg:Protocol><cfg:Protocol><cfg:CLSID>{B9F1D9B8-1DA6-4F17-962F-69EC82EA2704}</cfg:CLSID><cfg:PREFIX>03</cfg:PREFIX><cfg:LOGICAL>1</cfg:LOGICAL><cfg:SYSTEM>1</cfg:SYSTEM></cfg:Protocol><cfg:Protocol><cfg:CLSID>{B9F1D9B8-1DA6-4F17-962F-69EC82EA2704}</cfg:CLSID><cfg:PREFIX>02</cfg:PREFIX><cfg:LOGICAL>1</cfg:LOGICAL></cfg:Protocol><cfg:CONSENTVERSION>1</cfg:CONSENTVERSION></cfg:DIDCOMMetaData><cfg:Certificate>MIIDGjCCAtqgAwIBAgIJAL67zDTCqZpDMAkGByqGSM44BAMwIzEhMB8GA1UEAxMYVG9rZW4gU2lnbmluZyBQdWJsaWMgS2V5MB4XDTEzMDcwMjIxMTAzN1oXDTE4MDcwMTIxMTAzN1owIzEhMB8GA1UEAxMYVG9rZW4gU2lnbmluZyBQdWJsaWMgS2V5MIIBtjCCASsGByqGSM44BAEwggEeAoGBAPPi828dNQiBJ1qnxffow1emUO8g3DK1PKd5hC3L/BUiKMHnZAGcVcp7+KARbMypNjbcaBFhyBiPefmFzOaxqKr0Tf/T6mwtYP2A7v0ITEoJxLl4TPPM9jjKjMqTf7rubUcsrU7i1d3aTmUxhOUS2YRsdwq9xeSUXOVobFE7848VAhUAn9eIFUVj31yox4o1Qnj8cDlON/sCgYA6dp0LN/eExvGvZo/6ey0LU96/rA5k24JE9MF5Pp40ysAgBH098FY93v0XGrL9avSffTYWwoXMQiWQw6bwyuDdOYfD8xCl7+DxJ/QGQW6YPsZJ6DXhAG4vzPSEdLkOgstny2JgjtQvLsRbcYA9Y9vWMQG4pJD9GrCRl270uxdqZQOBhAACgYBu0rix0SuIRsMiNoM3actVS804Cb/WhMi9rPtQDKUAMnGFVgzMg9muE1gPpyqp/Tbsyqn9eYYSRcxZG059zwR4R+gtWUaCljhHOScjYUL5ql2Z7DNxRndJLjl4QmT0hq2msCiDfbWZpY5RLjdsUkcLHLiZF5N4NJnnct5meNsr46OBmDCBlTAdBgNVHQ4EFgQURtLCWz4DNCN5LhccABkoTHEQK2QwUwYDVR0jBEwwSoAURtLCWz4DNCN5LhccABkoTHEQK2ShJ6QlMCMxITAfBgNVBAMTGFRva2VuIFNpZ25pbmcgUHVibGljIEtleYIJAL67zDTCqZpDMBIGA1UdEwEB/wQIMAYBAf8CAQAwCwYDVR0PBAQDAgHGMAkGByqGSM44BAMDLwAwLAIUC3k3NJt95Lh1CFXNQO9Luy0xRakCFBdAihMHEpTBGyyeUZXkEeuGpUhk</cfg:Certificate><cfg:Certificate>MIIDGzCCAtugAwIBAgIJAL6pALeLZHDvMAkGByqGSM44BAMwIzEhMB8GA1UEAxMYVG9rZW4gU2lnbmluZyBQdWJsaWMgS2V5MB4XDTE2MDUwOTIwNDA1NVoXDTIxMDUwODIwNDA1NVowIzEhMB8GA1UEAxMYVG9rZW4gU2lnbmluZyBQdWJsaWMgS2V5MIIBtzCCASwGByqGSM44BAEwggEfAoGBAKmnM6FKnJ1osHWBHd8jHFFMDNwygIcof9EfHW6xJbU2uIzVV5WRu251RbRbmOqozesK44vkeBx9Ntl7PSu0W5RJFCEw9o4RLG0J40MWDNDQ+7iqvIsM6lsgZrDjNoWJ2t/Yrnnp0r3F9YNtj7J4vgLCYNOlkr2kcfGiji+SXotXAhUAqGI2zlbARtjz+simu2PihUPkV1MCgYEAnrIIXPvjKvWiXd3uve7eDS8qRHW7yoAseVLgeEIbS4VSj/9iQqunx1weQGlds75CLZgpcrY4Z5wbkxSjnK1EV30qce4+VzgXYGLZIAvl78wbAMFrG0josXccAbmqVM4LX2Z5yu1TEpPZLvgiaV4gJk4jsYhInqPm3Bw2qQ+gZokDgYQAAoGAFozcPQdM9MmszvEWMXuFrfEA8kVMnKIyA60paSi7CIecSAlsRLyw3D9J9pRW6HHdRZgOrKvnNcY63gKB56SKyj6r3nGqtkwEpu9yw1K+k2aSyJcKPHYVNw1Um5McKJgQJ49ShJFPaWXfDZPOCpgMpdzibnWjMcTak5rz4FHSUtOjgZgwgZUwHQYDVR0OBBYEFKNT6lUDzQppxFhwtv/jkSCRx596MFMGA1UdIwRMMEqAFKNT6lUDzQppxFhwtv/jkSCRx596oSekJTAjMSEwHwYDVQQDExhUb2tlbiBTaWduaW5nIFB1Line truncated
|
||||
</cfg:PassportSecurityTokenService><cfg:MSNPassportSecurityTokenService>https://ctas.login.ugnet.gay/RST.srf</cfg:MSNPassportSecurityTokenService><cfg:PassportSHA1Auth>https://ctas.login.ugnet.gay/ppsecure/SHA1Auth.srf
|
||||
</cfg:PassportSHA1Auth><cfg:URL_PasswordReset>https://ctas.login.ugnet.gay/resetpw.srf
|
||||
--><cfg:Settings><cfg:DeviceDNSSuffix>.devicedns.ugnet.xyz</cfg:DeviceDNSSuffix><cfg:DeviceDNSSuffixOld></cfg:DeviceDNSSuffixOld><cfg:EIDEnumBCSP>Microsoft Base Smart Card Crypto Provider</cfg:EIDEnumBCSP><cfg:EIDEnumRootCAThumbprint>0tOOumDKocEgVaLhyDsVrUUBEMI=</cfg:EIDEnumRootCAThumbprint><cfg:UpdateNeededInterval>604800</cfg:UpdateNeededInterval><cfg:ResolveTimeout>0</cfg:ResolveTimeout><cfg:ConnectTimeout>10000</cfg:ConnectTimeout><cfg:SendTimeout>30000</cfg:SendTimeout><cfg:ReceiveTimeout>30000</cfg:ReceiveTimeout><cfg:MinMinutesBetweenMetaConfigCheck>1440</cfg:MinMinutesBetweenMetaConfigCheck><!--[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")]--><cfg:AndroidSsoCerts>sX6CAbEo4edMwCNRCrfqA6wn3eUNMtgQ6hV3dY8cwJg=,g2b69yfcSDF6LzoMN/oSfz81YZTPuy9LYo7H5qGnXA8=,uSUTbz6nwKGVFpChqzE5ENqB9AmUqFNC7GIoiPEocFE=,oHlCFSeKVn6IevbN4BWl6IQU72QPfas4VaPneWWL53g=,fVOTUco5wnynBkCeWptrBi25v43D2MqmE3Bnrn9otec=,KEg2GpweMt8dPi7Wp7nmelJc+KE7Fk+ABslHlXj3Rt4=,7r0PFuYpr4uDgb/t/dZJYF/pD3Y/XLe6Rz657vlNmvE=,Mb5ACW+THNfxHV4mLSssQ3xEOF+07LwQE9ladDWBb5w=,6EPuPaEZXWr7icqjznQnsI/AH9h4ok+lbpYsNccdXnA=,rQZmwqojBROk1Pc/okKkWGzY7WcmodDdVCUHcv2blgU=</cfg:AndroidSsoCerts><cfg:ConfigServerSslURI>https://go.microsoft.com/fwlink/?LinkId=690512</cfg:ConfigServerSslURI><cfg:ConfigServerCdnURI>http://go.microsoft.com/fwlink/?LinkId=253579</cfg:ConfigServerCdnURI><cfg:ConfigServerURI>http://clientconfig.passport.net/ppcrlconfig.srf</cfg:ConfigServerURI><cfg:TopNonFedDomains>@hotmail.,@msn.,@live.,@yahoo.,@gmail.,@windowslive.,@sympatico.,@aol.,@163.,@freemail.,@gmx.,@comcast.,@web.,@libero.,@wanadoo.,@sbcglobal.,@example.,@tiscali.,@126.,@mail.,@q.,@xiaoi.,@hanmail.,@walla.,@free.,@ppauthz.com,@compaq.,@hotmail.co.,@messengeruser.,@passport.,@webtv.</cfg:TopNonFedDomains><cfg:DIDCOMMetaData><cfg:DIDWithAuth>1</cfg:DIDWithAuth><cfg:AssocPDIDToLDID>1</cfg:AssocPDIDToLDID><cfg:Protocol><cfg:CLSID>{1C109E4C-2F30-4EA3-A57A-A290877A2303}</cfg:CLSID><cfg:DATA><![CDATA[<Input version="1" match="20"><Excluded><Controller>Win32_USBControllerDevice</Controller><Controller>Win32_1394ControllerDevice</Controller><Controller>Win32_PCMCIAControllerDevice</Controller><Controller>Win32_ConnectionShare</Controller></Excluded><Class name="Win32_PhysicalMedia" pos="1" hash="32" match="10"><Data>SerialNumber</Data></Class><Class name="Win32_NetworkAdapter" pos="2" hash="32" match="10"><Data>MACAddress</Data></Class><Class name="Win32_BIOS" pos="3" hash="32" match="10"><Data>Manufacturer</Data><Data>SerialNumber</Data></Class></Input>]]></cfg:DATA><cfg:PREFIX>01</cfg:PREFIX></cfg:Protocol><cfg:Protocol><cfg:CLSID>{B9F1D9B8-1DA6-4F17-962F-69EC82EA2704}</cfg:CLSID><cfg:PREFIX>03</cfg:PREFIX><cfg:LOGICAL>1</cfg:LOGICAL><cfg:SYSTEM>1</cfg:SYSTEM></cfg:Protocol><cfg:Protocol><cfg:CLSID>{B9F1D9B8-1DA6-4F17-962F-69EC82EA2704}</cfg:CLSID><cfg:PREFIX>02</cfg:PREFIX><cfg:LOGICAL>1</cfg:LOGICAL></cfg:Protocol><cfg:CONSENTVERSION>1</cfg:CONSENTVERSION></cfg:DIDCOMMetaData><cfg:Certificate>MIIDGjCCAtqgAwIBAgIJAL67zDTCqZpDMAkGByqGSM44BAMwIzEhMB8GA1UEAxMYVG9rZW4gU2lnbmluZyBQdWJsaWMgS2V5MB4XDTEzMDcwMjIxMTAzN1oXDTE4MDcwMTIxMTAzN1owIzEhMB8GA1UEAxMYVG9rZW4gU2lnbmluZyBQdWJsaWMgS2V5MIIBtjCCASsGByqGSM44BAEwggEeAoGBAPPi828dNQiBJ1qnxffow1emUO8g3DK1PKd5hC3L/BUiKMHnZAGcVcp7+KARbMypNjbcaBFhyBiPefmFzOaxqKr0Tf/T6mwtYP2A7v0ITEoJxLl4TPPM9jjKjMqTf7rubUcsrU7i1d3aTmUxhOUS2YRsdwq9xeSUXOVobFE7848VAhUAn9eIFUVj31yox4o1Qnj8cDlON/sCgYA6dp0LN/eExvGvZo/6ey0LU96/rA5k24JE9MF5Pp40ysAgBH098FY93v0XGrL9avSffTYWwoXMQiWQw6bwyuDdOYfD8xCl7+DxJ/QGQW6YPsZJ6DXhAG4vzPSEdLkOgstny2JgjtQvLsRbcYA9Y9vWMQG4pJD9GrCRl270uxdqZQOBhAACgYBu0rix0SuIRsMiNoM3actVS804Cb/WhMi9rPtQDKUAMnGFVgzMg9muE1gPpyqp/Tbsyqn9eYYSRcxZG059zwR4R+gtWUaCljhHOScjYUL5ql2Z7DNxRndJLjl4QmT0hq2msCiDfbWZpY5RLjdsUkcLHLiZF5N4NJnnct5meNsr46OBmDCBlTAdBgNVHQ4EFgQURtLCWz4DNCN5LhccABkoTHEQK2QwUwYDVR0jBEwwSoAURtLCWz4DNCN5LhccABkoTHEQK2ShJ6QlMCMxITAfBgNVBAMTGFRva2VuIFNpZ25pbmcgUHVibGljIEtleYIJAL67zDTCqZpDMBIGA1UdEwEB/wQIMAYBAf8CAQAwCwYDVR0PBAQDAgHGMAkGByqGSM44BAMDLwAwLAIUC3k3NJt95Lh1CFXNQO9Luy0xRakCFBdAihMHEpTBGyyeUZXkEeuGpUhk</cfg:Certificate><cfg:Certificate>MIIDGzCCAtugAwIBAgIJAL6pALeLZHDvMAkGByqGSM44BAMwIzEhMB8GA1UEAxMYVG9rZW4gU2lnbmluZyBQdWJsaWMgS2V5MB4XDTE2MDUwOTIwNDA1NVoXDTIxMDUwODIwNDA1NVowIzEhMB8GA1UEAxMYVG9rZW4gU2lnbmluZyBQdWJsaWMgS2V5MIIBtzCCASwGByqGSM44BAEwggEfAoGBAKmnM6FKnJ1osHWBHd8jHFFMDNwygIcof9EfHW6xJbU2uIzVV5WRu251RbRbmOqozesK44vkeBx9Ntl7PSu0W5RJFCEw9o4RLG0J40MWDNDQ+7iqvIsM6lsgZrDjNoWJ2t/Yrnnp0r3F9YNtj7J4vgLCYNOlkr2kcfGiji+SXotXAhUAqGI2zlbARtjz+simu2PihUPkV1MCgYEAnrIIXPvjKvWiXd3uve7eDS8qRHW7yoAseVLgeEIbS4VSj/9iQqunx1weQGlds75CLZgpcrY4Z5wbkxSjnK1EV30qce4+VzgXYGLZIAvl78wbAMFrG0josXccAbmqVM4LX2Z5yu1TEpPZLvgiaV4gJk4jsYhInqPm3Bw2qQ+gZokDgYQAAoGAFozcPQdM9MmszvEWMXuFrfEA8kVMnKIyA60paSi7CIecSAlsRLyw3D9J9pRW6HHdRZgOrKvnNcY63gKB56SKyj6r3nGqtkwEpu9yw1K+k2aSyJcKPHYVNw1Um5McKJgQJ49ShJFPaWXfDZPOCpgMpdzibnWjMcTak5rz4FHSUtOjgZgwgZUwHQYDVR0OBBYEFKNT6lUDzQppxFhwtv/jkSCRx596MFMGA1UdIwRMMEqAFKNT6lUDzQppxFhwtv/jkSCRx596oSekJTAjMSEwHwYDVQQDExhUb2tlbiBTaWduaW5nIFB1Line truncated
|
||||
</cfg:PassportSecurityTokenService><cfg:MSNPassportSecurityTokenService>https://ctas.login.ugnet.xyz/RST.srf</cfg:MSNPassportSecurityTokenService><cfg:PassportSHA1Auth>https://ctas.login.ugnet.xyz/ppsecure/SHA1Auth.srf
|
||||
</cfg:PassportSHA1Auth><cfg:URL_PasswordReset>https://ctas.login.ugnet.xyz/resetpw.srf
|
||||
</cfg:URL_PasswordReset><cfg:URL_PassportNetwork>http://www.microsoft.com/account/default.aspx
|
||||
</cfg:URL_PassportNetwork><cfg:URL_AccountServices>https://account.ugnet.gay
|
||||
</cfg:URL_AccountServices><cfg:URL_PaneHelpFrame>http://ctas.login.ugnet.gay/hp.srf?format=b1
|
||||
</cfg:URL_PaneHelpFrame><!-- !!! P L E A S E R E A D !!!! --><!-- IDCRL 4.5 and below cannot load more than 32 items from <cfg:ServiceURIs> node. --><!-- Add any new items in <cfg:ServiceURIs1> node below. --><!-- NOTE: IDCRL 4.5 and below will NOT be able to read items from the new node. --></cfg:ServiceURIs><cfg:ServiceURIs1><cfg:PassportMetaConfig>http://ctas.login.ugnet.gay/ppcrlcheck.srf</cfg:PassportMetaConfig><cfg:DeviceIdTrustedDomain>*.ugnet.gay</cfg:DeviceIdTrustedDomain><cfg:DIDManagementDomain>ctas.login.ugnet.gay,account.ugnet.gay</cfg:DIDManagementDomain><cfg:PREFBINCookieDomain>c.ugnet.gay,c.msn.com</cfg:PREFBINCookieDomain><cfg:WLIDSTS_WCF>https://ctas.login.ugnet.gay/RST2.srf</cfg:WLIDSTS_WCF><cfg:MSNWLIDSTS_WCF>https://ctas.login.ugnet.gay/RST2.srf</cfg:MSNWLIDSTS_WCF><cfg:URL_DeviceTOU>https://ctas.login.ugnet.gay/didtou.srf</cfg:URL_DeviceTOU><cfg:DeviceChangeService>https://ctas.login.ugnet.gay/ppsecure/devicechangecredential.srf</cfg:DeviceChangeService><cfg:DeviceAddService>https://ctas.login.ugnet.gay/ppsecure/deviceaddcredential.srf</cfg:DeviceAddService><cfg:DeviceRemoveService>https://ctas.login.ugnet.gay/ppsecure/deviceremovecredential.srf</cfg:DeviceRemoveService><cfg:DeviceAssociateService>https://ctas.login.ugnet.gay/ppsecure/DeviceAssociate.srf</cfg:DeviceAssociateService><cfg:DeviceDisassociateService>https://ctas.login.ugnet.gay/ppsecure/DeviceDisassociate.srf</cfg:DeviceDisassociateService><cfg:DeviceQueryService>https://ctas.login.ugnet.gay/ppsecure/DeviceQuery.srf</cfg:DeviceQueryService><cfg:DeviceUpdateService>https://ctas.login.ugnet.gay/ppsecure/DeviceUpdate.srf</cfg:DeviceUpdateService><cfg:DeviceEnumerateService>https://ctas.login.ugnet.gay/ppsecure/EnumerateDevices.srf</cfg:DeviceEnumerateService><cfg:ResolveUserService>https://ctas.login.ugnet.gay/ppsecure/ResolveUser.srf</cfg:ResolveUserService><cfg:AllowGetProperty>EID</cfg:AllowGetProperty><cfg:RealmInfoService>https://ctas.login.ugnet.gay/getrealminfo.srf</cfg:RealmInfoService><cfg:RealmInfoService6_0>https://ctas.login.ugnet.gay/getuserrealm.srf</cfg:RealmInfoService6_0><cfg:URL_Retention>https://ctas.login.ugnet.gay/retention.srf</cfg:URL_Retention><cfg:URL_Registration>https://signup.ugnet.gay/signup.aspx</cfg:URL_Registration><cfg:URL_Privacy>http://go.microsoft.com/fwlink/p/?LinkId=253457</cfg:URL_Privacy><cfg:GetUserKeyDataService>https://ctas.login.ugnet.gay/ppsecure/GetUserKeyData.srf</cfg:GetUserKeyDataService><cfg:OOBESignIn>https://ctas.login.ugnet.gay/ppsecure/InlineLogin.srf?id=80500</cfg:OOBESignIn><cfg:OOBESignUp>https://account.ugnet.gay/inlinesignup.aspx?iww=1&id=80500</cfg:OOBESignUp><cfg:OOBEIfExists>https://ctas.login.ugnet.gay/IfExists.srf?uiflavor=4&id=80500</cfg:OOBEIfExists><cfg:CPSignIn>https://ctas.login.ugnet.gay/ppsecure/InlineLogin.srf?id=80501</cfg:CPSignIn><cfg:CPSignUp>https://account.ugnet.gay/inlinesignup.aspx?iww=1&id=80501</cfg:CPSignUp><cfg:CPIfExists>https://ctas.login.ugnet.gay/IfExists.srf?uiflavor=4&id=80501</cfg:CPIfExists><cfg:CPChangePwd>https://account.ugnet.gay/Wizard/Password/Change?id=80501</cfg:CPChangePwd><cfg:CPAddUserSignIn>https://ctas.login.ugnet.gay/ppsecure/InlineLogin.srf?id=80502</cfg:CPAddUserSignIn><cfg:CPAddUserSignUp>https://account.ugnet.gay/InlineSignup.aspx?iww=1&id=80502</cfg:CPAddUserSignUp><cfg:CPAddUserIfExists>https://ctas.login.ugnet.gay/IfExists.srf?uiflavor=4&id=80502</cfg:CPAddUserIfExists><!-- Auth-up URLs and all 806XX site IDs are used for versions of connect flows that can handle receiving a DA token during connect. --><cfg:OOBESignInAuthUp>https://ctas.login.ugnet.gay/ppsecure/InlineLogin.srf?id=80600</cfg:OOBESignInAuthUp><cfg:OOBESignUpAuthUp>https://account.ugnet.gay/inlinesignup.aspx?iww=1&id=80600</cfg:OOBESignUpAuthUp><cfg:OOBEIfExistsAuthUp>https://ctas.login.ugnet.gay/IfExists.srf?uiflavor=4&id=80600</cfg:OOBEIfExistsAuthUp><cfg:OOBEConnect>https://ctas.login.ugnet.gay/ppsecure/InlineConnect.srf?id=80600</cfg:OOBEConnect><cfg:CPSignInAuthUp>https://ctas.login.ugnet.gay/ppsecure/InlineLogin.srf?id=80601</cfg:CPSignInAuthUp><cfg:CPSignUpAuthUp>https://account.ugnet.gay/inlinesignup.aspx?iww=1&id=80601</cfg:CPSignUpAuthUp><cfg:CPIfExistsAuthUp>https://ctas.login.ugnet.gay/IfExists.srf?uiflavor=4&id=80601</cfg:CPIfExistsAuthUp><cfg:CPChangePwdAuthUp>https://account.ugnet.gay/Wizard/Password/Change?id=80601</cfg:CPChangePwdAuthUp><cfg:CPChangePwdOnline>https://ctas.login.ugnet.gay/ppsecure/InlinePOPAuth.srf?id=80601&fid=cp</cfg:CPChangePwdOnline><cfg:CPConnect>https://ctas.login.ugnet.gay/ppsecure/InlineConnect.srf?id=80601</cfg:CPConnect><cfg:OOBEUpgradeSignIn>https://ctas.login.ugnet.gay/ppsecure/InlineLogin.srf?id=80603</cfg:OOBEUpgradeSignIn><cfg:OOBEUpgradeSignUp>https://account.ugnet.gay/inlinesignup.aspx?iww=1&id=80603</cfg:OOBEUpgradeSignUp><cfg:OOBEUpgradeConnect>https://ctas.login.ugnet.gay/ppsecure/InlineConnect.srf?id=80603</cfg:OOBEUpgradeConnecLine truncated
|
||||
</cfg:URL_PassportNetwork><cfg:URL_AccountServices>https://account.ugnet.xyz
|
||||
</cfg:URL_AccountServices><cfg:URL_PaneHelpFrame>http://ctas.login.ugnet.xyz/hp.srf?format=b1
|
||||
</cfg:URL_PaneHelpFrame><!-- !!! P L E A S E R E A D !!!! --><!-- IDCRL 4.5 and below cannot load more than 32 items from <cfg:ServiceURIs> node. --><!-- Add any new items in <cfg:ServiceURIs1> node below. --><!-- NOTE: IDCRL 4.5 and below will NOT be able to read items from the new node. --></cfg:ServiceURIs><cfg:ServiceURIs1><cfg:PassportMetaConfig>http://ctas.login.ugnet.xyz/ppcrlcheck.srf</cfg:PassportMetaConfig><cfg:DeviceIdTrustedDomain>*.ugnet.xyz</cfg:DeviceIdTrustedDomain><cfg:DIDManagementDomain>ctas.login.ugnet.xyz,account.ugnet.xyz</cfg:DIDManagementDomain><cfg:PREFBINCookieDomain>c.ugnet.xyz,c.msn.com</cfg:PREFBINCookieDomain><cfg:WLIDSTS_WCF>https://ctas.login.ugnet.xyz/RST2.srf</cfg:WLIDSTS_WCF><cfg:MSNWLIDSTS_WCF>https://ctas.login.ugnet.xyz/RST2.srf</cfg:MSNWLIDSTS_WCF><cfg:URL_DeviceTOU>https://ctas.login.ugnet.xyz/didtou.srf</cfg:URL_DeviceTOU><cfg:DeviceChangeService>https://ctas.login.ugnet.xyz/ppsecure/devicechangecredential.srf</cfg:DeviceChangeService><cfg:DeviceAddService>https://ctas.login.ugnet.xyz/ppsecure/deviceaddcredential.srf</cfg:DeviceAddService><cfg:DeviceRemoveService>https://ctas.login.ugnet.xyz/ppsecure/deviceremovecredential.srf</cfg:DeviceRemoveService><cfg:DeviceAssociateService>https://ctas.login.ugnet.xyz/ppsecure/DeviceAssociate.srf</cfg:DeviceAssociateService><cfg:DeviceDisassociateService>https://ctas.login.ugnet.xyz/ppsecure/DeviceDisassociate.srf</cfg:DeviceDisassociateService><cfg:DeviceQueryService>https://ctas.login.ugnet.xyz/ppsecure/DeviceQuery.srf</cfg:DeviceQueryService><cfg:DeviceUpdateService>https://ctas.login.ugnet.xyz/ppsecure/DeviceUpdate.srf</cfg:DeviceUpdateService><cfg:DeviceEnumerateService>https://ctas.login.ugnet.xyz/ppsecure/EnumerateDevices.srf</cfg:DeviceEnumerateService><cfg:ResolveUserService>https://ctas.login.ugnet.xyz/ppsecure/ResolveUser.srf</cfg:ResolveUserService><cfg:AllowGetProperty>EID</cfg:AllowGetProperty><cfg:RealmInfoService>https://ctas.login.ugnet.xyz/getrealminfo.srf</cfg:RealmInfoService><cfg:RealmInfoService6_0>https://ctas.login.ugnet.xyz/getuserrealm.srf</cfg:RealmInfoService6_0><cfg:URL_Retention>https://ctas.login.ugnet.xyz/retention.srf</cfg:URL_Retention><cfg:URL_Registration>https://signup.ugnet.xyz/signup.aspx</cfg:URL_Registration><cfg:URL_Privacy>http://go.microsoft.com/fwlink/p/?LinkId=253457</cfg:URL_Privacy><cfg:GetUserKeyDataService>https://ctas.login.ugnet.xyz/ppsecure/GetUserKeyData.srf</cfg:GetUserKeyDataService><cfg:OOBESignIn>https://ctas.login.ugnet.xyz/ppsecure/InlineLogin.srf?id=80500</cfg:OOBESignIn><cfg:OOBESignUp>https://account.ugnet.xyz/inlinesignup.aspx?iww=1&id=80500</cfg:OOBESignUp><cfg:OOBEIfExists>https://ctas.login.ugnet.xyz/IfExists.srf?uiflavor=4&id=80500</cfg:OOBEIfExists><cfg:CPSignIn>https://ctas.login.ugnet.xyz/ppsecure/InlineLogin.srf?id=80501</cfg:CPSignIn><cfg:CPSignUp>https://account.ugnet.xyz/inlinesignup.aspx?iww=1&id=80501</cfg:CPSignUp><cfg:CPIfExists>https://ctas.login.ugnet.xyz/IfExists.srf?uiflavor=4&id=80501</cfg:CPIfExists><cfg:CPChangePwd>https://account.ugnet.xyz/Wizard/Password/Change?id=80501</cfg:CPChangePwd><cfg:CPAddUserSignIn>https://ctas.login.ugnet.xyz/ppsecure/InlineLogin.srf?id=80502</cfg:CPAddUserSignIn><cfg:CPAddUserSignUp>https://account.ugnet.xyz/InlineSignup.aspx?iww=1&id=80502</cfg:CPAddUserSignUp><cfg:CPAddUserIfExists>https://ctas.login.ugnet.xyz/IfExists.srf?uiflavor=4&id=80502</cfg:CPAddUserIfExists><!-- Auth-up URLs and all 806XX site IDs are used for versions of connect flows that can handle receiving a DA token during connect. --><cfg:OOBESignInAuthUp>https://ctas.login.ugnet.xyz/ppsecure/InlineLogin.srf?id=80600</cfg:OOBESignInAuthUp><cfg:OOBESignUpAuthUp>https://account.ugnet.xyz/inlinesignup.aspx?iww=1&id=80600</cfg:OOBESignUpAuthUp><cfg:OOBEIfExistsAuthUp>https://ctas.login.ugnet.xyz/IfExists.srf?uiflavor=4&id=80600</cfg:OOBEIfExistsAuthUp><cfg:OOBEConnect>https://ctas.login.ugnet.xyz/ppsecure/InlineConnect.srf?id=80600</cfg:OOBEConnect><cfg:CPSignInAuthUp>https://ctas.login.ugnet.xyz/ppsecure/InlineLogin.srf?id=80601</cfg:CPSignInAuthUp><cfg:CPSignUpAuthUp>https://account.ugnet.xyz/inlinesignup.aspx?iww=1&id=80601</cfg:CPSignUpAuthUp><cfg:CPIfExistsAuthUp>https://ctas.login.ugnet.xyz/IfExists.srf?uiflavor=4&id=80601</cfg:CPIfExistsAuthUp><cfg:CPChangePwdAuthUp>https://account.ugnet.xyz/Wizard/Password/Change?id=80601</cfg:CPChangePwdAuthUp><cfg:CPChangePwdOnline>https://ctas.login.ugnet.xyz/ppsecure/InlinePOPAuth.srf?id=80601&fid=cp</cfg:CPChangePwdOnline><cfg:CPConnect>https://ctas.login.ugnet.xyz/ppsecure/InlineConnect.srf?id=80601</cfg:CPConnect><cfg:OOBEUpgradeSignIn>https://ctas.login.ugnet.xyz/ppsecure/InlineLogin.srf?id=80603</cfg:OOBEUpgradeSignIn><cfg:OOBEUpgradeSignUp>https://account.ugnet.xyz/inlinesignup.aspx?iww=1&id=80603</cfg:OOBEUpgradeSignUp><cfg:OOBEUpgradeConnect>https://ctas.login.ugnet.xyz/ppsecure/InlineConnect.srf?id=80603</cfg:OOBEUpgradeConnecLine truncated
|
||||
@@ -3,5 +3,5 @@
|
||||
When a certificate is rev'd, a line like the following should be
|
||||
added to the cfg:Settings section:
|
||||
<cfg:Certificate expired="true">SLCA_BACKUP.CER</cfg:Certificate>
|
||||
--><cfg:Settings><cfg:DeviceDNSSuffix>.devicedns.ugnet.gay</cfg:DeviceDNSSuffix><cfg:ResolveTimeout>120000</cfg:ResolveTimeout><cfg:ConnectTimeout>60000</cfg:ConnectTimeout><cfg:SendTimeout>30000</cfg:SendTimeout><cfg:ReceiveTimeout>30000</cfg:ReceiveTimeout><cfg:MinMinutesBetweenMetaConfigCheck>1440</cfg:MinMinutesBetweenMetaConfigCheck><cfg:ConfigServerSslURI>https://go.microsoft.com/fwlink/?LinkId=859524</cfg:ConfigServerSslURI><cfg:DIDCOMMetaData><cfg:DIDWithAuth>1</cfg:DIDWithAuth><cfg:AssocPDIDToLDID>1</cfg:AssocPDIDToLDID><cfg:Protocol><cfg:CLSID>{1C109E4C-2F30-4EA3-A57A-A290877A2303}</cfg:CLSID><cfg:DATA><![CDATA[<Input version="1" match="20"><Excluded><Controller>Win32_USBControllerDevice</Controller><Controller>Win32_1394ControllerDevice</Controller><Controller>Win32_PCMCIAControllerDevice</Controller><Controller>Win32_ConnectionShare</Controller></Excluded><Class name="Win32_PhysicalMedia" pos="1" hash="32" match="10"><Data>SerialNumber</Data></Class><Class name="Win32_NetworkAdapter" pos="2" hash="32" match="10"><Data>MACAddress</Data></Class><Class name="Win32_BIOS" pos="3" hash="32" match="10"><Data>Manufacturer</Data><Data>SerialNumber</Data></Class></Input>]]></cfg:DATA><cfg:PREFIX>01</cfg:PREFIX></cfg:Protocol><cfg:Protocol><cfg:CLSID>{B9F1D9B8-1DA6-4F17-962F-69EC82EA2704}</cfg:CLSID><cfg:PREFIX>03</cfg:PREFIX><cfg:LOGICAL>1</cfg:LOGICAL><cfg:SYSTEM>1</cfg:SYSTEM></cfg:Protocol><cfg:Protocol><cfg:CLSID>{B9F1D9B8-1DA6-4F17-962F-69EC82EA2704}</cfg:CLSID><cfg:PREFIX>02</cfg:PREFIX><cfg:LOGICAL>1</cfg:LOGICAL></cfg:Protocol><cfg:CONSENTVERSION>1</cfg:CONSENTVERSION></cfg:DIDCOMMetaData><cfg:Certificate>MIIDGzCCAtugAwIBAgIJAL6pALeLZHDvMAkGByqGSM44BAMwIzEhMB8GA1UEAxMYVG9rZW4gU2lnbmluZyBQdWJsaWMgS2V5MB4XDTE2MDUwOTIwNDA1NVoXDTIxMDUwODIwNDA1NVowIzEhMB8GA1UEAxMYVG9rZW4gU2lnbmluZyBQdWJsaWMgS2V5MIIBtzCCASwGByqGSM44BAEwggEfAoGBAKmnM6FKnJ1osHWBHd8jHFFMDNwygIcof9EfHW6xJbU2uIzVV5WRu251RbRbmOqozesK44vkeBx9Ntl7PSu0W5RJFCEw9o4RLG0J40MWDNDQ+7iqvIsM6lsgZrDjNoWJ2t/Yrnnp0r3F9YNtj7J4vgLCYNOlkr2kcfGiji+SXotXAhUAqGI2zlbARtjz+simu2PihUPkV1MCgYEAnrIIXPvjKvWiXd3uve7eDS8qRHW7yoAseVLgeEIbS4VSj/9iQqunx1weQGlds75CLZgpcrY4Z5wbkxSjnK1EV30qce4+VzgXYGLZIAvl78wbAMFrG0josXccAbmqVM4LX2Z5yu1TEpPZLvgiaV4gJk4jsYhInqPm3Bw2qQ+gZokDgYQAAoGAFozcPQdM9MmszvEWMXuFrfEA8kVMnKIyA60paSi7CIecSAlsRLyw3D9J9pRW6HHdRZgOrKvnNcY63gKB56SKyj6r3nGqtkwEpu9yw1K+k2aSyJcKPHYVNw1Um5McKJgQJ49ShJFPaWXfDZPOCpgMpdzibnWjMcTak5rz4FHSUtOjgZgwgZUwHQYDVR0OBBYEFKNT6lUDzQppxFhwtv/jkSCRx596MFMGA1UdIwRMMEqAFKNT6lUDzQppxFhwtv/jkSCRx596oSekJTAjMSEwHwYDVQQDExhUb2tlbiBTaWduaW5nIFB1YmxpYyBLZXmCCQC+qQC3i2Rw7zASBgNVHRMBAf8ECDAGAQH/AgEAMAsGA1UdDwQEAwIBxjAJBgcqhkjOOAQDAy8AMCwCFGjnp838qB/wTUdvoRt4G3aW0fv0AhRe8cZDdOveTDCbWane65nlVv0Udw==</cfg:Certificate><cfg:Certificate>MIIDHDCCAtugAwIBAgIJAPVhDwwaTUJrMAkGByqGSM44BAMwIzEhMB8GA1UEAxMYVG9rZW4gU2lnbmluZyBQdWJsaWMgS2V5MB4XDTIxMDMxODE4NDIzN1oXDTQxMDMxMzE4NDIzN1owIzEhMB8GA1UEAxMYVG9rZW4gU2lnbmluZyBQdWJsaWMgS2V5MIIBtzCCASsGByqGSM44BAEwggEeAoGBANwZEes+CsJ6G4/Pe5XmGS9e5qki7KPMh9+IU5JE+z0H0Q4v51cKYCcm0OHtStB4oTF3RqTcYT6wYp/k6CcrGUVKo60tWY3C+ohOABpfoAnstLX/bZmWYQ87KzkRpB21WGCAJsoNQ5V0oQbwnEeeWO5sfZ6T3lfP7YgyeY4NatWhAhUAhFP2mQrVRzurTrsPRs5S1aNUWWUCgYBw3lXgm9xw1G9BSs8mP9sv8IefC87tBupniaUY/lz+AlN0qs6tXPHSesobCFxLDNT0Vhw4fSTJBPlq99tvV6ipEQkBtR3ColMVMq0G7ECW8ojnPWUcwdYUCyky7kyV7EuwnUYoAN4nZWBhN9BOj/nO0Ds5HInryR0RnTEvT0uojwOBhQACgYEA2SDhhPBDnKxvmH9RHvTUW0pvaTyAbFXxQ1WP+rcN608akqKmyMiskxCUySoBGAEbE/szcBqTu4VpvskyOBHY6Li6ewYP5cpVe7mARh27+cuGOzz3JZAVwi79D6u9/6OxnLyfbdRpYFq0qlmtUSbqtp895cs0cLn8TIppt+h6iDKjgZgwgZUwHQYDVR0OBBYEFNggH9qn8tEAK/Xtp75ejkmJcgjwMFMGA1UdIwRMMEqAFNggH9qn8tEAK/Xtp75ejkmJcgjwoSekJTAjMSEwHwYDVQQDExhUb2tlbiBTaWduaW5nIFB1YmxpYyBLZXmCCQD1YQ8MGk1CazASBgNVHRMBAf8ECDAGAQH/AgEAMAsGA1UdDwQEAwIBxjAJBgcqhkjOOAQDAzAAMC0CFHDGG3jer0Hzy/Qr08Dx/XpQGPG/AhUAg5mwhsY1EvBXNSor8eaySNirEH0=</cfg:Certificate><cfg:AddressResolutionTTL>900</cfg:AddressResolutionTTL><cfg:ClientTimeOutForRpcCallsNoNetwork>5</cfg:ClientTimeOutForRpcCallsNoNetwork><cfg:ClientTimeoutForRpcCallsWithNetwork>600</cfg:ClientTimeoutForRpcCallsWithNetwork><cfg:LivesspMaxTokenSize>60000</cfg:LivesspMaxTokenSize><cfg:AccountDomain>account.ugnet.gay</cfg:AccountDomain><cfg:InterruptResolutionDomain>account.ugnet.gay</cfg:InterruptResolutionDomain><cfg:PasswordReset>account.ugnet.gay/password/reset</cfg:PasswordReset><cfg:AccountPolicy>sapi</cfg:AccountPolicy><cfg:ConnectAccountPolicy>mbi_ssl</cfg:ConnectAccountPolicy><cfg:StrongAuthPolicy>mbi_ssl_sa</cfg:StrongAuthPolicy><cfg:MinPasswordLength>8</cfg:MinPasswordLength><cfg:MinPasswordCharacterGroups>2</cfg:MinPasswordCharacterGroups><cfg:CookieP3PHeader><![CDATA[CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOCi CNT"]]></cfg:CookieP3PHeader><cfg:ThrottleFlags>1</cfg:ThrottleFlags><cfg:ThrottleMaxRequests>200</cfg:ThrottleMaxRequests><cfg:ThrottleTotalIntervalSeconds>7200</cfg:ThrottleTotalIntervalSeconds><cfg:ThrottledApplications><cfg:ThrottledApp><cfg:ThrottledAppID>dc21Line truncated
|
||||
endpoints above. Client-side policy will determine which endpoint to use in a given situation. --><cfg:EnterpriseWLIDSTS_WCF>https://ctas.login.ugnet.gay/MSARST2.srf</cfg:EnterpriseWLIDSTS_WCF><cfg:EnterpriseDeviceChangeService>https://ctas.login.ugnet.gay/ppsecure/devicechangecredential.srf</cfg:EnterpriseDeviceChangeService><cfg:EnterpriseDeviceAddService>https://ctas.login.ugnet.gay/ppsecure/deviceaddmsacredential.srf</cfg:EnterpriseDeviceAddService><cfg:EnterpriseDeviceRemoveService>https://ctas.login.ugnet.gay/ppsecure/deviceremovecredential.srf</cfg:EnterpriseDeviceRemoveService><cfg:EnterpriseDeviceAssociateService>https://ctas.login.ugnet.gay/ppsecure/DeviceAssociate.srf</cfg:EnterpriseDeviceAssociateService><cfg:EnterpriseDeviceDisassociateService>https://ctas.login.ugnet.gay/ppsecure/DeviceDisassociate.srf</cfg:EnterpriseDeviceDisassociateService><cfg:EnterpriseDeviceQueryService>https://ctas.login.ugnet.gay/ppsecure/DeviceQuery.srf</cfg:EnterpriseDeviceQueryService><cfg:EnterpriseDeviceUpdateService>https://ctas.login.ugnet.gay/ppsecure/DeviceUpdate.srf</cfg:EnterpriseDeviceUpdateService><cfg:EnterpriseDeviceEnumerateService>https://ctas.login.ugnet.gay/ppsecure/EnumerateDevices.srf</cfg:EnterpriseDeviceEnumerateService><cfg:EnterpriseResolveUserService>https://ctas.login.ugnet.gay/ppsecure/ResolveUser.srf</cfg:EnterpriseResolveUserService><cfg:AllowGetProperty>EID</cfg:AllowGetProperty><cfg:RealmInfoService>https://ctas.login.ugnet.gay/getrealminfo.srf</cfg:RealmInfoService><cfg:RealmInfoService6_0>https://ctas.login.ugnet.gay/getuserrealm.srf</cfg:RealmInfoService6_0><cfg:URL_Retention>https://ctas.login.ugnet.gay/retention.srf</cfg:URL_Retention><cfg:URL_Registration>https://signup.ugnet.gay/signup.aspx</cfg:URL_Registration><cfg:URL_Privacy>http://go.microsoft.com/fwlink/p/?LinkId=253457</cfg:URL_Privacy><cfg:GetUserKeyDataService>https://ctas.login.ugnet.gay/ppsecure/GetUserKeyData.srf</cfg:GetUserKeyDataService><cfg:CPAddUserSignIn>https://ctas.login.ugnet.gay/ppsecure/InlineLogin.srf?id=80502</cfg:CPAddUserSignIn><cfg:CPAddUserSignUp>https://account.ugnet.gay/InlineSignup.aspx?iww=1&id=80502</cfg:CPAddUserSignUp><cfg:CPAddUserIfExists>https://ctas.login.ugnet.gay/IfExists.srf?uiflavor=4&id=80502</cfg:CPAddUserIfExists><!-- Auth-up URLs and all 806XX site IDs are used for versions of connect flows that can handle receiving a DA token during connect. --><cfg:OOBESignInAuthUp>https://ctas.login.ugnet.gay/ppsecure/InlineLogin.srf?id=80600</cfg:OOBESignInAuthUp><cfg:OOBESignUpAuthUp>https://account.ugnet.gay/inlinesignup.aspx?iww=1&id=80600</cfg:OOBESignUpAuthUp><cfg:OOBEIfExistsAuthUp>https://ctas.login.ugnet.gay/IfExists.srf?uiflavor=4&id=80600</cfg:OOBEIfExistsAuthUp><cfg:OOBEConnect>https://ctas.login.ugnet.gay/ppsecure/InlineConnect.srf?id=80600</cfg:OOBEConnect><cfg:CPSignInAuthUp>https://ctas.login.ugnet.gay/ppsecure/InlineLogin.srf?id=80601</cfg:CPSignInAuthUp><cfg:CPSignUpAuthUp>https://account.ugnet.gay/inlinesignup.aspx?iww=1&id=80601</cfg:CPSignUpAuthUp><cfg:CPIfExistsAuthUp>https://ctas.login.ugnet.gay/IfExists.srf?uiflavor=4&id=80601</cfg:CPIfExistsAuthUp><cfg:CPChangePwdAuthUp>https://account.ugnet.gay/Wizard/Password/Change?id=80601</cfg:CPChangePwdAuthUp><cfg:CPChangePwdOnline>https://ctas.login.ugnet.gay/ppsecure/InlinePOPAuth.srf?id=80601&fid=cp</cfg:CPChangePwdOnline><cfg:CPConnect>https://ctas.login.ugnet.gay/ppsecure/InlineConnect.srf?id=80601</cfg:CPConnect><cfg:OOBEUpgradeSignIn>https://ctas.login.ugnet.gay/ppsecure/InlineLogin.srf?id=80603</cfg:OOBEUpgradeSignIn><cfg:OOBEUpgradeSignUp>https://account.ugnet.gay/inlinesignup.aspx?iww=1&id=80603</cfg:OOBEUpgradeSignUp><cfg:OOBEUpgradeConnect>https://ctas.login.ugnet.gay/ppsecure/InlineConnect.srf?id=80603</cfg:OOBEUpgradeConnect><cfg:CompleteAccountSignIn>https://ctas.login.ugnet.gay/ppsecure/InlineLogin.srf?id=80604</cfg:CompleteAccountSignIn><cfg:CompleteAccountSignUp>https://account.ugnet.gay/inlinesignup.aspx?iww=1&id=80604</cfg:CompleteAccountSignUp><cfg:CompleteAccountConnect>https://ctas.login.ugnet.gay/ppsecure/InlineConnect.srf?id=80604</cfg:CompleteAccountConnect><cfg:CXHSignInUpsell>https://ctas.login.ugnet.gay/ppsecure/InlineLogin.srf?id=80604</cfg:CXHSignInUpsell><cfg:NthUserSignIn>https://ctas.login.ugnet.gay/ppsecure/InlineLogin.srf?id=80605</cfg:NthUserSignIn><cfg:NthUserSignUp>https://account.ugnet.gay/inlinesignup.aspx?iww=1&id=80605</cfg:NthUserSignUp><cfg:NthUserConnect>https://ctas.login.ugnet.gay/ppsecure/InlinePOPAuth.srf?id=80605</cfg:NthUserConnect><cfg:CXHSignIn>https://ctas.login.ugnet.gay/ppsecure/InlineLogin.srf?id=80606</cfg:CXHSignIn><cfg:CXHTransientSignIn>https://ctas.login.ugnet.gay/ppsecure/InlineLogin.srf?id=80607</cfg:CXHTransientSignIn><cfg:CXHReAuth>https://ctas.login.ugnet.gay/ppsecure/InlineLogin.srf?id=80608</cfg:CXHReAuth><cfg:CXHNGCUpsell>https://account.ugnet.gay/msangcwam</cfg:CXHNGCUpsell><cfg:URL_AccountSettings>https://account.miLine truncated
|
||||
--><cfg:Settings><cfg:DeviceDNSSuffix>.devicedns.ugnet.xyz</cfg:DeviceDNSSuffix><cfg:ResolveTimeout>120000</cfg:ResolveTimeout><cfg:ConnectTimeout>60000</cfg:ConnectTimeout><cfg:SendTimeout>30000</cfg:SendTimeout><cfg:ReceiveTimeout>30000</cfg:ReceiveTimeout><cfg:MinMinutesBetweenMetaConfigCheck>1440</cfg:MinMinutesBetweenMetaConfigCheck><cfg:ConfigServerSslURI>https://go.microsoft.com/fwlink/?LinkId=859524</cfg:ConfigServerSslURI><cfg:DIDCOMMetaData><cfg:DIDWithAuth>1</cfg:DIDWithAuth><cfg:AssocPDIDToLDID>1</cfg:AssocPDIDToLDID><cfg:Protocol><cfg:CLSID>{1C109E4C-2F30-4EA3-A57A-A290877A2303}</cfg:CLSID><cfg:DATA><![CDATA[<Input version="1" match="20"><Excluded><Controller>Win32_USBControllerDevice</Controller><Controller>Win32_1394ControllerDevice</Controller><Controller>Win32_PCMCIAControllerDevice</Controller><Controller>Win32_ConnectionShare</Controller></Excluded><Class name="Win32_PhysicalMedia" pos="1" hash="32" match="10"><Data>SerialNumber</Data></Class><Class name="Win32_NetworkAdapter" pos="2" hash="32" match="10"><Data>MACAddress</Data></Class><Class name="Win32_BIOS" pos="3" hash="32" match="10"><Data>Manufacturer</Data><Data>SerialNumber</Data></Class></Input>]]></cfg:DATA><cfg:PREFIX>01</cfg:PREFIX></cfg:Protocol><cfg:Protocol><cfg:CLSID>{B9F1D9B8-1DA6-4F17-962F-69EC82EA2704}</cfg:CLSID><cfg:PREFIX>03</cfg:PREFIX><cfg:LOGICAL>1</cfg:LOGICAL><cfg:SYSTEM>1</cfg:SYSTEM></cfg:Protocol><cfg:Protocol><cfg:CLSID>{B9F1D9B8-1DA6-4F17-962F-69EC82EA2704}</cfg:CLSID><cfg:PREFIX>02</cfg:PREFIX><cfg:LOGICAL>1</cfg:LOGICAL></cfg:Protocol><cfg:CONSENTVERSION>1</cfg:CONSENTVERSION></cfg:DIDCOMMetaData><cfg:Certificate>MIIDGzCCAtugAwIBAgIJAL6pALeLZHDvMAkGByqGSM44BAMwIzEhMB8GA1UEAxMYVG9rZW4gU2lnbmluZyBQdWJsaWMgS2V5MB4XDTE2MDUwOTIwNDA1NVoXDTIxMDUwODIwNDA1NVowIzEhMB8GA1UEAxMYVG9rZW4gU2lnbmluZyBQdWJsaWMgS2V5MIIBtzCCASwGByqGSM44BAEwggEfAoGBAKmnM6FKnJ1osHWBHd8jHFFMDNwygIcof9EfHW6xJbU2uIzVV5WRu251RbRbmOqozesK44vkeBx9Ntl7PSu0W5RJFCEw9o4RLG0J40MWDNDQ+7iqvIsM6lsgZrDjNoWJ2t/Yrnnp0r3F9YNtj7J4vgLCYNOlkr2kcfGiji+SXotXAhUAqGI2zlbARtjz+simu2PihUPkV1MCgYEAnrIIXPvjKvWiXd3uve7eDS8qRHW7yoAseVLgeEIbS4VSj/9iQqunx1weQGlds75CLZgpcrY4Z5wbkxSjnK1EV30qce4+VzgXYGLZIAvl78wbAMFrG0josXccAbmqVM4LX2Z5yu1TEpPZLvgiaV4gJk4jsYhInqPm3Bw2qQ+gZokDgYQAAoGAFozcPQdM9MmszvEWMXuFrfEA8kVMnKIyA60paSi7CIecSAlsRLyw3D9J9pRW6HHdRZgOrKvnNcY63gKB56SKyj6r3nGqtkwEpu9yw1K+k2aSyJcKPHYVNw1Um5McKJgQJ49ShJFPaWXfDZPOCpgMpdzibnWjMcTak5rz4FHSUtOjgZgwgZUwHQYDVR0OBBYEFKNT6lUDzQppxFhwtv/jkSCRx596MFMGA1UdIwRMMEqAFKNT6lUDzQppxFhwtv/jkSCRx596oSekJTAjMSEwHwYDVQQDExhUb2tlbiBTaWduaW5nIFB1YmxpYyBLZXmCCQC+qQC3i2Rw7zASBgNVHRMBAf8ECDAGAQH/AgEAMAsGA1UdDwQEAwIBxjAJBgcqhkjOOAQDAy8AMCwCFGjnp838qB/wTUdvoRt4G3aW0fv0AhRe8cZDdOveTDCbWane65nlVv0Udw==</cfg:Certificate><cfg:Certificate>MIIDHDCCAtugAwIBAgIJAPVhDwwaTUJrMAkGByqGSM44BAMwIzEhMB8GA1UEAxMYVG9rZW4gU2lnbmluZyBQdWJsaWMgS2V5MB4XDTIxMDMxODE4NDIzN1oXDTQxMDMxMzE4NDIzN1owIzEhMB8GA1UEAxMYVG9rZW4gU2lnbmluZyBQdWJsaWMgS2V5MIIBtzCCASsGByqGSM44BAEwggEeAoGBANwZEes+CsJ6G4/Pe5XmGS9e5qki7KPMh9+IU5JE+z0H0Q4v51cKYCcm0OHtStB4oTF3RqTcYT6wYp/k6CcrGUVKo60tWY3C+ohOABpfoAnstLX/bZmWYQ87KzkRpB21WGCAJsoNQ5V0oQbwnEeeWO5sfZ6T3lfP7YgyeY4NatWhAhUAhFP2mQrVRzurTrsPRs5S1aNUWWUCgYBw3lXgm9xw1G9BSs8mP9sv8IefC87tBupniaUY/lz+AlN0qs6tXPHSesobCFxLDNT0Vhw4fSTJBPlq99tvV6ipEQkBtR3ColMVMq0G7ECW8ojnPWUcwdYUCyky7kyV7EuwnUYoAN4nZWBhN9BOj/nO0Ds5HInryR0RnTEvT0uojwOBhQACgYEA2SDhhPBDnKxvmH9RHvTUW0pvaTyAbFXxQ1WP+rcN608akqKmyMiskxCUySoBGAEbE/szcBqTu4VpvskyOBHY6Li6ewYP5cpVe7mARh27+cuGOzz3JZAVwi79D6u9/6OxnLyfbdRpYFq0qlmtUSbqtp895cs0cLn8TIppt+h6iDKjgZgwgZUwHQYDVR0OBBYEFNggH9qn8tEAK/Xtp75ejkmJcgjwMFMGA1UdIwRMMEqAFNggH9qn8tEAK/Xtp75ejkmJcgjwoSekJTAjMSEwHwYDVQQDExhUb2tlbiBTaWduaW5nIFB1YmxpYyBLZXmCCQD1YQ8MGk1CazASBgNVHRMBAf8ECDAGAQH/AgEAMAsGA1UdDwQEAwIBxjAJBgcqhkjOOAQDAzAAMC0CFHDGG3jer0Hzy/Qr08Dx/XpQGPG/AhUAg5mwhsY1EvBXNSor8eaySNirEH0=</cfg:Certificate><cfg:AddressResolutionTTL>900</cfg:AddressResolutionTTL><cfg:ClientTimeOutForRpcCallsNoNetwork>5</cfg:ClientTimeOutForRpcCallsNoNetwork><cfg:ClientTimeoutForRpcCallsWithNetwork>600</cfg:ClientTimeoutForRpcCallsWithNetwork><cfg:LivesspMaxTokenSize>60000</cfg:LivesspMaxTokenSize><cfg:AccountDomain>account.ugnet.xyz</cfg:AccountDomain><cfg:InterruptResolutionDomain>account.ugnet.xyz</cfg:InterruptResolutionDomain><cfg:PasswordReset>account.ugnet.xyz/password/reset</cfg:PasswordReset><cfg:AccountPolicy>sapi</cfg:AccountPolicy><cfg:ConnectAccountPolicy>mbi_ssl</cfg:ConnectAccountPolicy><cfg:StrongAuthPolicy>mbi_ssl_sa</cfg:StrongAuthPolicy><cfg:MinPasswordLength>8</cfg:MinPasswordLength><cfg:MinPasswordCharacterGroups>2</cfg:MinPasswordCharacterGroups><cfg:CookieP3PHeader><![CDATA[CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOCi CNT"]]></cfg:CookieP3PHeader><cfg:ThrottleFlags>1</cfg:ThrottleFlags><cfg:ThrottleMaxRequests>200</cfg:ThrottleMaxRequests><cfg:ThrottleTotalIntervalSeconds>7200</cfg:ThrottleTotalIntervalSeconds><cfg:ThrottledApplications><cfg:ThrottledApp><cfg:ThrottledAppID>dc21Line truncated
|
||||
endpoints above. Client-side policy will determine which endpoint to use in a given situation. --><cfg:EnterpriseWLIDSTS_WCF>https://ctas.login.ugnet.xyz/MSARST2.srf</cfg:EnterpriseWLIDSTS_WCF><cfg:EnterpriseDeviceChangeService>https://ctas.login.ugnet.xyz/ppsecure/devicechangecredential.srf</cfg:EnterpriseDeviceChangeService><cfg:EnterpriseDeviceAddService>https://ctas.login.ugnet.xyz/ppsecure/deviceaddmsacredential.srf</cfg:EnterpriseDeviceAddService><cfg:EnterpriseDeviceRemoveService>https://ctas.login.ugnet.xyz/ppsecure/deviceremovecredential.srf</cfg:EnterpriseDeviceRemoveService><cfg:EnterpriseDeviceAssociateService>https://ctas.login.ugnet.xyz/ppsecure/DeviceAssociate.srf</cfg:EnterpriseDeviceAssociateService><cfg:EnterpriseDeviceDisassociateService>https://ctas.login.ugnet.xyz/ppsecure/DeviceDisassociate.srf</cfg:EnterpriseDeviceDisassociateService><cfg:EnterpriseDeviceQueryService>https://ctas.login.ugnet.xyz/ppsecure/DeviceQuery.srf</cfg:EnterpriseDeviceQueryService><cfg:EnterpriseDeviceUpdateService>https://ctas.login.ugnet.xyz/ppsecure/DeviceUpdate.srf</cfg:EnterpriseDeviceUpdateService><cfg:EnterpriseDeviceEnumerateService>https://ctas.login.ugnet.xyz/ppsecure/EnumerateDevices.srf</cfg:EnterpriseDeviceEnumerateService><cfg:EnterpriseResolveUserService>https://ctas.login.ugnet.xyz/ppsecure/ResolveUser.srf</cfg:EnterpriseResolveUserService><cfg:AllowGetProperty>EID</cfg:AllowGetProperty><cfg:RealmInfoService>https://ctas.login.ugnet.xyz/getrealminfo.srf</cfg:RealmInfoService><cfg:RealmInfoService6_0>https://ctas.login.ugnet.xyz/getuserrealm.srf</cfg:RealmInfoService6_0><cfg:URL_Retention>https://ctas.login.ugnet.xyz/retention.srf</cfg:URL_Retention><cfg:URL_Registration>https://signup.ugnet.xyz/signup.aspx</cfg:URL_Registration><cfg:URL_Privacy>http://go.microsoft.com/fwlink/p/?LinkId=253457</cfg:URL_Privacy><cfg:GetUserKeyDataService>https://ctas.login.ugnet.xyz/ppsecure/GetUserKeyData.srf</cfg:GetUserKeyDataService><cfg:CPAddUserSignIn>https://ctas.login.ugnet.xyz/ppsecure/InlineLogin.srf?id=80502</cfg:CPAddUserSignIn><cfg:CPAddUserSignUp>https://account.ugnet.xyz/InlineSignup.aspx?iww=1&id=80502</cfg:CPAddUserSignUp><cfg:CPAddUserIfExists>https://ctas.login.ugnet.xyz/IfExists.srf?uiflavor=4&id=80502</cfg:CPAddUserIfExists><!-- Auth-up URLs and all 806XX site IDs are used for versions of connect flows that can handle receiving a DA token during connect. --><cfg:OOBESignInAuthUp>https://ctas.login.ugnet.xyz/ppsecure/InlineLogin.srf?id=80600</cfg:OOBESignInAuthUp><cfg:OOBESignUpAuthUp>https://account.ugnet.xyz/inlinesignup.aspx?iww=1&id=80600</cfg:OOBESignUpAuthUp><cfg:OOBEIfExistsAuthUp>https://ctas.login.ugnet.xyz/IfExists.srf?uiflavor=4&id=80600</cfg:OOBEIfExistsAuthUp><cfg:OOBEConnect>https://ctas.login.ugnet.xyz/ppsecure/InlineConnect.srf?id=80600</cfg:OOBEConnect><cfg:CPSignInAuthUp>https://ctas.login.ugnet.xyz/ppsecure/InlineLogin.srf?id=80601</cfg:CPSignInAuthUp><cfg:CPSignUpAuthUp>https://account.ugnet.xyz/inlinesignup.aspx?iww=1&id=80601</cfg:CPSignUpAuthUp><cfg:CPIfExistsAuthUp>https://ctas.login.ugnet.xyz/IfExists.srf?uiflavor=4&id=80601</cfg:CPIfExistsAuthUp><cfg:CPChangePwdAuthUp>https://account.ugnet.xyz/Wizard/Password/Change?id=80601</cfg:CPChangePwdAuthUp><cfg:CPChangePwdOnline>https://ctas.login.ugnet.xyz/ppsecure/InlinePOPAuth.srf?id=80601&fid=cp</cfg:CPChangePwdOnline><cfg:CPConnect>https://ctas.login.ugnet.xyz/ppsecure/InlineConnect.srf?id=80601</cfg:CPConnect><cfg:OOBEUpgradeSignIn>https://ctas.login.ugnet.xyz/ppsecure/InlineLogin.srf?id=80603</cfg:OOBEUpgradeSignIn><cfg:OOBEUpgradeSignUp>https://account.ugnet.xyz/inlinesignup.aspx?iww=1&id=80603</cfg:OOBEUpgradeSignUp><cfg:OOBEUpgradeConnect>https://ctas.login.ugnet.xyz/ppsecure/InlineConnect.srf?id=80603</cfg:OOBEUpgradeConnect><cfg:CompleteAccountSignIn>https://ctas.login.ugnet.xyz/ppsecure/InlineLogin.srf?id=80604</cfg:CompleteAccountSignIn><cfg:CompleteAccountSignUp>https://account.ugnet.xyz/inlinesignup.aspx?iww=1&id=80604</cfg:CompleteAccountSignUp><cfg:CompleteAccountConnect>https://ctas.login.ugnet.xyz/ppsecure/InlineConnect.srf?id=80604</cfg:CompleteAccountConnect><cfg:CXHSignInUpsell>https://ctas.login.ugnet.xyz/ppsecure/InlineLogin.srf?id=80604</cfg:CXHSignInUpsell><cfg:NthUserSignIn>https://ctas.login.ugnet.xyz/ppsecure/InlineLogin.srf?id=80605</cfg:NthUserSignIn><cfg:NthUserSignUp>https://account.ugnet.xyz/inlinesignup.aspx?iww=1&id=80605</cfg:NthUserSignUp><cfg:NthUserConnect>https://ctas.login.ugnet.xyz/ppsecure/InlinePOPAuth.srf?id=80605</cfg:NthUserConnect><cfg:CXHSignIn>https://ctas.login.ugnet.xyz/ppsecure/InlineLogin.srf?id=80606</cfg:CXHSignIn><cfg:CXHTransientSignIn>https://ctas.login.ugnet.xyz/ppsecure/InlineLogin.srf?id=80607</cfg:CXHTransientSignIn><cfg:CXHReAuth>https://ctas.login.ugnet.xyz/ppsecure/InlineLogin.srf?id=80608</cfg:CXHReAuth><cfg:CXHNGCUpsell>https://account.ugnet.xyz/msangcwam</cfg:CXHNGCUpsell><cfg:URL_AccountSettings>https://account.miLine truncated
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<soap:Header>
|
||||
<Machine xmlns="{{ owsns }}" name="BAYM-OW15" ver="12.30.1623.0"/>
|
||||
</soap:Header>
|
||||
<soap:Body>
|
||||
<soap:Fault>
|
||||
<faultcode xmlns:q0="{{ owsns }}">q0:MessageTooLarge</faultcode>
|
||||
<faultstring>Exception of type 'System.Web.Services.Protocols.SoapException' was thrown.</faultstring>
|
||||
<detail/>
|
||||
</soap:Fault>
|
||||
</soap:Body>
|
||||
</soap:Envelope>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
{%- macro profile_id(profile) %}
|
||||
<Ns1>Cid</Ns1>
|
||||
<V1 xsi:type="xsd:long">{{ cid_format(profile.user.uuid, decimal = True) }}</V1>
|
||||
{%- if profile.puid is none %}
|
||||
<Ns2>Unspecified</Ns2>
|
||||
<V2 xsi:nil="true"/>
|
||||
{%- else %}
|
||||
<Ns2>Puid</Ns2>
|
||||
<V2 xsi:type="xsd:long">{{ profile.puid }}</V2>
|
||||
{%- endif %}
|
||||
<Ns3>Unspecified</Ns3>
|
||||
<V3 xsi:nil="true"/>
|
||||
{%- endmacro %}
|
||||
{%- macro profile_view(profile) %}
|
||||
<View>
|
||||
<ViewName>WLX.DC.CoreProfile</ViewName>
|
||||
<ViewVersion>1</ViewVersion>
|
||||
<Attributes>
|
||||
<A><N>PublicProfile.ResourceId</N><V xsi:type="xsd:string">{{ profile.cid }}!106</V></A>
|
||||
<A><N>PublicProfile.DisplayName</N><V xsi:type="xsd:string">{{ (profile.user.first_name or '')|e }}</V></A>
|
||||
<A><N>PublicProfile.DisplayName.LastModified</N><V xsi:type="xsd:string">{{ now }}</V></A>
|
||||
<A><N>PublicProfile.DisplayLastName</N><V xsi:type="xsd:string">{{ (profile.user.last_name or '')|e }}</V></A>
|
||||
<A><N>PublicProfile.DisplayLastName.LastModified</N><V xsi:type="xsd:string">{{ now }}</V></A>
|
||||
<A><N>ExpressionProfile.ResourceId</N><V xsi:type="xsd:string">{{ profile.cid }}!118</V></A>
|
||||
<A><N>ExpressionProfile.DisplayName</N><V xsi:type="xsd:string">{{ (profile.roaming_info.name or profile.user.status.name or '')|e }}</V></A>
|
||||
<A><N>ExpressionProfile.DisplayName.LastModified</N><V xsi:type="xsd:string">{{ date_format(profile.roaming_info.name_last_modified) }}</V></A>
|
||||
<A><N>ExpressionProfile.PersonalStatus</N><V xsi:type="xsd:string">{{ (profile.roaming_info.message or '')|e }}</V></A>
|
||||
<A><N>ExpressionProfile.PersonalStatus.LastModified</N><V xsi:type="xsd:string">{{ date_format(profile.roaming_info.message_last_modified) }}</V></A>
|
||||
<A><N>ExpressionProfile.StaticUserTilePublicURL</N><V xsi:type="xsd:string">https://{{ host }}/avatar/{{ profile.user.uuid }}/im</V></A>
|
||||
<A><N>UserTileStaticUrl</N><V xsi:type="xsd:string">https://{{ host }}/avatar/{{ profile.user.uuid }}/im</V></A>
|
||||
<A><N>PictureProfile.UserTileStatic.ResourceId</N><V xsi:type="xsd:string">{{ profile.cid }}!205</V></A>
|
||||
<A><N>LastModified</N><V xsi:type="xsd:string">{{ now }}</V></A>
|
||||
</Attributes>
|
||||
</View>
|
||||
{%- endmacro %}
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<soap:Body>
|
||||
<{{ action }}Response xmlns="http://profile.live.com/">
|
||||
<{{ action }}Result>
|
||||
<CallStatistics>
|
||||
<ServerName>{{ host }}</ServerName>
|
||||
<ElapsedMilliseconds>0</ElapsedMilliseconds>
|
||||
</CallStatistics>
|
||||
{%- if action == 'GetMany' %}
|
||||
<Ids>
|
||||
{%- for profile in profiles %}
|
||||
<ProfileId>{{ profile_id(profile) }}
|
||||
</ProfileId>
|
||||
{%- endfor %}
|
||||
</Ids>
|
||||
{%- else %}
|
||||
<Id>{{ profile_id(profiles[0]) }}
|
||||
</Id>
|
||||
{%- endif %}
|
||||
{%- if action == 'GetMany' %}
|
||||
<Views>
|
||||
{%- for profile in profiles %}{{ profile_view(profile) }}{%- endfor %}
|
||||
</Views>
|
||||
{%- else %}{{ profile_view(profiles[0]) }}{%- endif %}
|
||||
</{{ action }}Result>
|
||||
</{{ action }}Response>
|
||||
</soap:Body>
|
||||
</soap:Envelope>
|
||||
@@ -15,56 +15,56 @@
|
||||
<Services>
|
||||
<Service>
|
||||
<Memberships>
|
||||
{% for lst in lists %}
|
||||
{%- for lst in lists %}
|
||||
<Membership>
|
||||
<MemberRole>{{ lst.label }}</MemberRole>
|
||||
<Members>
|
||||
{% for contact in detail.contacts.values() %}
|
||||
{% if (contact.lists.__and__(lst) and lst not in (ContactList.AL,ContactList.BL,ContactList.RL)) or (lst in (ContactList.AL,ContactList.BL,ContactList.RL) and contact.lists.__and__(lst) and not contact.pending) %}
|
||||
<Member xsi:type="PassportMember">
|
||||
<MembershipId>{{ lst.label }}/{{ contact.head.uuid }}</MembershipId>
|
||||
<Type>Passport</Type>
|
||||
<State>Accepted</State>
|
||||
<Deleted>false</Deleted>
|
||||
<LastChanged>{{ now }}</LastChanged>
|
||||
<JoinedDate>{{ date_format(contact.head.date_created) }}</JoinedDate>
|
||||
<ExpirationDate>0001-01-01T00:00:00</ExpirationDate>
|
||||
<Changes />
|
||||
<PassportName>{{ contact.head.email }}</PassportName>
|
||||
<IsPassportNameHidden>false</IsPassportNameHidden>
|
||||
<PassportId>0</PassportId>
|
||||
<CID>{{ cid_format(contact.head.uuid, decimal = True) }}</CID>
|
||||
<PassportChanges />
|
||||
<LookedupByCID>false</LookedupByCID>
|
||||
</Member>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if lst == ContactList.BL %}
|
||||
{% for circle in circles %}
|
||||
{% if circle.memberships[user.uuid].blocking %}
|
||||
<Member xsi:type="CircleMember">
|
||||
<MembershipId>Block/00000000-0000-0000-0009-{{ circle.chat_id }}</MembershipId>
|
||||
<Type>Circle</Type>
|
||||
<State>Accepted</State>
|
||||
<Deleted>false</Deleted>
|
||||
<LastChanged>{{ now }}</LastChanged>
|
||||
<JoinedDate>{{ now }}</JoinedDate>
|
||||
<ExpirationDate>0001-01-01T00:00:00</ExpirationDate>
|
||||
<Changes />
|
||||
<CircleId>00000000-0000-0000-0009-{{ circle.chat_id }}</CircleId>
|
||||
</Member>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</Members>
|
||||
<MembershipIsComplete>true</MembershipIsComplete>
|
||||
</Membership>
|
||||
{% endfor %}
|
||||
<MemberRole>{{ lst.label }}</MemberRole>
|
||||
<Members>
|
||||
{%- for contact in detail.contacts.values() %}
|
||||
{%- if (contact.lists.__and__(lst) and lst not in (ContactList.AL,ContactList.BL,ContactList.RL)) or (lst in (ContactList.AL,ContactList.BL,ContactList.RL) and contact.lists.__and__(lst) and not contact.pending) %}
|
||||
<Member xsi:type="PassportMember">
|
||||
<MembershipId>{{ lst.label }}/{{ contact.head.uuid }}</MembershipId>
|
||||
<Type>Passport</Type>
|
||||
<State>Accepted</State>
|
||||
<Deleted>false</Deleted>
|
||||
<LastChanged>{{ now }}</LastChanged>
|
||||
<JoinedDate>{{ date_format(contact.head.date_created) }}</JoinedDate>
|
||||
<ExpirationDate>0001-01-01T00:00:00</ExpirationDate>
|
||||
<Changes />
|
||||
<PassportName>{{ contact.head.email }}</PassportName>
|
||||
<IsPassportNameHidden>false</IsPassportNameHidden>
|
||||
<PassportId>0</PassportId>
|
||||
<CID>{{ cid_format(contact.head.uuid, decimal = True) }}</CID>
|
||||
<PassportChanges />
|
||||
<LookedupByCID>false</LookedupByCID>
|
||||
</Member>
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- if lst == ContactList.BL %}
|
||||
{%- for circle in circles %}
|
||||
{%- if circle.memberships[user.uuid].blocking %}
|
||||
<Member xsi:type="CircleMember">
|
||||
<MembershipId>Block/00000000-0000-0000-0009-{{ circle.chat_id }}</MembershipId>
|
||||
<Type>Circle</Type>
|
||||
<State>Accepted</State>
|
||||
<Deleted>false</Deleted>
|
||||
<LastChanged>{{ now }}</LastChanged>
|
||||
<JoinedDate>{{ now }}</JoinedDate>
|
||||
<ExpirationDate>0001-01-01T00:00:00</ExpirationDate>
|
||||
<Changes />
|
||||
<CircleId>00000000-0000-0000-0009-{{ circle.chat_id }}</CircleId>
|
||||
</Member>
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
</Members>
|
||||
<MembershipIsComplete>true</MembershipIsComplete>
|
||||
</Membership>
|
||||
{%- endfor %}
|
||||
<Membership>
|
||||
<MemberRole>Pending</MemberRole>
|
||||
<Members>
|
||||
{% for contact in detail.contacts.values() %}
|
||||
{% if contact.pending and not contact.lists.__and__(ContactList.FL) %}
|
||||
{%- for contact in detail.contacts.values() %}
|
||||
{%- if contact.pending and not contact.lists.__and__(ContactList.FL) %}
|
||||
<Member xsi:type="PassportMember">
|
||||
<MembershipId>Pending/{{ contact.head.uuid }}</MembershipId>
|
||||
<Type>Passport</Type>
|
||||
@@ -81,8 +81,8 @@
|
||||
<PassportChanges />
|
||||
<LookedupByCID>false</LookedupByCID>
|
||||
</Member>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
</Members>
|
||||
<MembershipIsComplete>true</MembershipIsComplete>
|
||||
</Membership>
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<soap:Body>
|
||||
<soap:Fault>
|
||||
<faultcode>soap:Client</faultcode>
|
||||
<faultstring>{{ errorstring }}</faultstring>
|
||||
<faultactor>http://www.msn.com/webservices/storage/{{ storage_ns }}/{{ action_str }}</faultactor>
|
||||
<detail>
|
||||
<errorcode xmlns="http://www.msn.com/webservices/storage/v1">{{ errorcode }}</errorcode>
|
||||
<errorstring xmlns="http://www.msn.com/webservices/storage/v1">{{ errorstring }}</errorstring>
|
||||
<machineName xmlns="http://www.msn.com/webservices/storage/v1">BL2STRWBA103</machineName>
|
||||
</detail>
|
||||
</soap:Fault>
|
||||
</soap:Body>
|
||||
</soap:Envelope>
|
||||
@@ -34,7 +34,7 @@
|
||||
<DocumentStreamName>UserTileStatic</DocumentStreamName>
|
||||
<MimeType>image/{{ mime }}</MimeType>
|
||||
<DataSize>{{ size_static }}</DataSize>
|
||||
<PreAuthURL>https://{{ host }}/avatar/{{ user.uuid }}/msn</PreAuthURL>
|
||||
<PreAuthURL>https://{{ host }}/avatar/{{ user.uuid }}/im</PreAuthURL>
|
||||
<WriteMode>Overwrite</WriteMode>
|
||||
<StreamDataStatus>None</StreamDataStatus>
|
||||
<StreamStatus>None</StreamStatus>
|
||||
@@ -68,7 +68,7 @@
|
||||
<DisplayName>{{ roaming_info.name }}</DisplayName>
|
||||
<DisplayNameLastModified>{{ date_format(roaming_info.name_last_modified) }}</DisplayNameLastModified>
|
||||
{% endif %}
|
||||
<StaticUserTilePublicURL>https://{{ host }}/avatar/{{ user.uuid }}/msn</StaticUserTilePublicURL>
|
||||
<StaticUserTilePublicURL>https://{{ host }}/avatar/{{ user.uuid }}/im</StaticUserTilePublicURL>
|
||||
</ExpressionProfile>
|
||||
</GetProfileResult>
|
||||
</GetProfileResponse>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<link>https://{{ settings.WEBSITE_HOST }}</link>
|
||||
<description>CrossTalk Video</description>
|
||||
<language>en-us</language>
|
||||
<copyright>2023 - 2026 the undergr0und</copyright>
|
||||
<copyright>2023 - 2026 hiden</copyright>
|
||||
<lastBuildDate>Thu, 05 Sep 2024 5:48:54 GMT</lastBuildDate>
|
||||
<category>MSN_Microsoft</category>
|
||||
<ttl>0</ttl>
|
||||
|
||||
@@ -4,58 +4,231 @@
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<soap:Header>
|
||||
<WNServiceHeader xmlns="http://www.msn.com/webservices/AddressBook">
|
||||
<Version>15.1.1216.0</Version>
|
||||
<Version>17.4.0.0</Version>
|
||||
<InExperimentalSample>false</InExperimentalSample>
|
||||
</WNServiceHeader>
|
||||
</soap:Header>
|
||||
<soap:Body>
|
||||
<GetContactsRecentActivityResponse xmlns="http://www.msn.com/webservices/AddressBook">
|
||||
<GetContactsRecentActivityResult>
|
||||
<{{ action }}Response xmlns="http://www.msn.com/webservices/AddressBook">
|
||||
<{{ action }}Result>
|
||||
<Activities>
|
||||
{%- for activity in activities %}
|
||||
{%- if activity.user %}
|
||||
{%- set tile = 'https://' ~ settings.USERSTORAGE_HOST ~ '/avatar/' ~ activity.user.uuid ~ '/im' %}
|
||||
{%- set profile = 'https://' ~ settings.WEBSITE_HOST ~ '/profile/+' ~ activity.user.username %}
|
||||
{%- else %}
|
||||
{%- set profile = activity.url or 'https://' ~ settings.WEBSITE_HOST %}
|
||||
{%- endif %}
|
||||
<ActivityDetails>
|
||||
<OwnerCID>0</OwnerCID>
|
||||
<ObjectId>Fri, 08 Jan 2025 4:59:43 CDT</ObjectId>
|
||||
<ApplicationId>420</ApplicationId>
|
||||
<ChangeType>20</ChangeType>
|
||||
<PublishDate>{date}</PublishDate>
|
||||
<OwnerCID>{{ owner_cid }}</OwnerCID>
|
||||
<ObjectId>{% if activity.type == 1 %}msgr_status_{{ activity.id }}{% elif activity.type == 3 %}msgr_dp_{{ activity.id }}{% elif activity.type == 2 %}msgr_photo_{{ activity.id }}{% else %}announcement_{{ activity.date_created.strftime('%Y%m%d%H%M%S') }}_{{ activity.id }}{% endif %}</ObjectId>
|
||||
<ApplicationId>{{ 1275182653 if activity.user else 420 }}</ApplicationId>
|
||||
<ChangeType>{{ activity.type|int }}</ChangeType>
|
||||
<PublishDate>{{ date_format(activity.date_created) }}</PublishDate>
|
||||
<TemplateVariables>
|
||||
<TemplateVariable xsi:type="TextTemplateVariable">
|
||||
<Name>Name</Name>
|
||||
<Value>{title}</Value>
|
||||
{%- if activity.user %}
|
||||
<TemplateVariable xsi:type="PublisherIdTemplateVariable">
|
||||
<Notations>
|
||||
<Notation><Name>Live.RecentActivity.UserTileM</Name><Value>{{ tile }}</Value></Notation>
|
||||
<Notation><Name>Live.RecentActivity.UserTileL</Name><Value>{{ tile }}</Value></Notation>
|
||||
<Notation><Name>Live.RecentActivity.UserTileXL</Name><Value>{{ tile }}</Value></Notation>
|
||||
</Notations>
|
||||
<Name>publisher</Name>
|
||||
<Id>{{ cid_format(activity.user.uuid, decimal = True) }}</Id>
|
||||
<NameHint>{{ activity.user.status.name|e }}</NameHint>
|
||||
<ProfilePictureUrl>{{ tile }}</ProfilePictureUrl>
|
||||
<ProfileUrlHint>{{ profile }}</ProfileUrlHint>
|
||||
<IsFavorite>{{ bool_to_str(activity.user.uuid in detail.contacts and contact_is_favorite(detail, detail.contacts[activity.user.uuid])) }}</IsFavorite>
|
||||
</TemplateVariable>
|
||||
<TemplateVariable xsi:type="HlinkTemplateVariable">
|
||||
<Name>Url</Name>
|
||||
<Value>{url}</Value>
|
||||
</TemplateVariable>
|
||||
<TemplateVariable xsi:type="HlinkTemplateVariable">
|
||||
<Notations>
|
||||
<Notation><Name>Live.RecentActivity.IsSelfPageUrl</Name><Value>true</Value></Notation>
|
||||
</Notations>
|
||||
<Name>AppName</Name>
|
||||
<Value>{{ profile }}</Value>
|
||||
<ValueAsSafeLink>{{ profile }}</ValueAsSafeLink>
|
||||
</TemplateVariable>
|
||||
{%- if activity.type == 3 %}
|
||||
<TemplateVariable xsi:type="TextTemplateVariable">
|
||||
<Name>StatusText</Name>
|
||||
<Value>has a new display picture</Value>
|
||||
</TemplateVariable>
|
||||
<TemplateVariable xsi:type="ImageTemplateVariable">
|
||||
<Name>DisplayPicture</Name>
|
||||
<Value>{{ tile }}</Value>
|
||||
<Href>{{ profile }}</Href>
|
||||
<HrefAsSafeLink>{{ profile }}</HrefAsSafeLink>
|
||||
</TemplateVariable>
|
||||
{%- elif activity.type == 2 %}
|
||||
<TemplateVariable xsi:type="TextTemplateVariable">
|
||||
<Name>CanonicalStatusText</Name>
|
||||
<Value>{{ (activity.text or 'shared a photo')|e }}</Value>
|
||||
</TemplateVariable>
|
||||
<TemplateVariable xsi:type="ImageTemplateVariable">
|
||||
<Name>Photo</Name>
|
||||
<Value>{{ activity.url|e }}</Value>
|
||||
<Href>{{ activity.url|e }}</Href>
|
||||
<HrefAsSafeLink>{{ activity.url|e }}</HrefAsSafeLink>
|
||||
</TemplateVariable>
|
||||
{%- else %}
|
||||
<TemplateVariable xsi:type="TextTemplateVariable">
|
||||
<Name>CanonicalStatusText</Name>
|
||||
<Value>{{ activity.text|e }}</Value>
|
||||
</TemplateVariable>
|
||||
{%- endif %}
|
||||
{%- else %}
|
||||
<TemplateVariable xsi:type="PublisherIdTemplateVariable">
|
||||
<Name>publisher</Name>
|
||||
<Id>0</Id>
|
||||
<NameHint>{{ activity.title|e }}</NameHint>
|
||||
<ProfilePictureUrl></ProfilePictureUrl>
|
||||
<ProfileUrlHint>{{ profile|e }}</ProfileUrlHint>
|
||||
<IsFavorite>false</IsFavorite>
|
||||
</TemplateVariable>
|
||||
<TemplateVariable xsi:type="HlinkTemplateVariable">
|
||||
<Name>AppName</Name>
|
||||
<Value>{{ profile|e }}</Value>
|
||||
<Text>Announcements</Text>
|
||||
<ValueAsSafeLink>{{ profile|e }}</ValueAsSafeLink>
|
||||
</TemplateVariable>
|
||||
<TemplateVariable xsi:type="TextTemplateVariable">
|
||||
<Name>CanonicalStatusText</Name>
|
||||
<Value>{{ activity.text|e }}</Value>
|
||||
</TemplateVariable>
|
||||
{%- endif %}
|
||||
</TemplateVariables>
|
||||
<ActivityID>1000000{{ activity.type|int if activity.user else 0 }}-0000-4000-8000-{{ '%012x'|format(activity.id) }}</ActivityID>
|
||||
<CommentInfo>
|
||||
<CommentCount>0</CommentCount>
|
||||
</CommentInfo>
|
||||
<RelevanceInfo>
|
||||
<TimeWeightedScore>{{ '%.7f'|format(1 / (1 + (now - activity.date_created).total_seconds() / 86400)) }}</TimeWeightedScore>
|
||||
</RelevanceInfo>
|
||||
<CanPublishComments>false</CanPublishComments>
|
||||
<VisibilityHint>0</VisibilityHint>
|
||||
<CanPublishCommentsSet>false</CanPublishCommentsSet>
|
||||
</ActivityDetails>
|
||||
{%- endfor %}
|
||||
</Activities>
|
||||
<Templates>
|
||||
{%- if 3 in types %}
|
||||
<RecentActivityTemplateContainer>
|
||||
<ApplicationId>420</ApplicationId>
|
||||
<ApplicationName>{appName}</ApplicationName>
|
||||
<ApplicationId>1275182653</ApplicationId>
|
||||
<ApplicationName>Messenger</ApplicationName>
|
||||
<MiniIconSizeX>0</MiniIconSizeX>
|
||||
<MiniIconSizeY>0</MiniIconSizeY>
|
||||
<ChangeType>20</ChangeType>
|
||||
<Locale>en-us</Locale>
|
||||
<ChangeType>3</ChangeType>
|
||||
<Locale>{{ locale|e }}</Locale>
|
||||
<RequestedLocales>
|
||||
<string>en-US</string>
|
||||
<string>{{ locale|e }}</string>
|
||||
</RequestedLocales>
|
||||
<TemplateRevision>1</TemplateRevision>
|
||||
<TemplateRevision>2116</TemplateRevision>
|
||||
<Templates>
|
||||
<RecentActivityTemplate>
|
||||
<Cardinality>One</Cardinality>
|
||||
<Data>CrossTalk News</Data>
|
||||
<Title>{content}</Title>
|
||||
<Data>{image:DisplayPicture style="floatleft"}</Data>
|
||||
<Title>{publisher-id:publisher} {text:StatusText="has a new display picture"}</Title>
|
||||
<LayoutDetails>
|
||||
<TemplateTypeDetails>
|
||||
<TemplateType>MessengerGrid</TemplateType>
|
||||
<LayoutProperties>
|
||||
<LayoutProperty><Name>Type</Name><Value>Photo</Value></LayoutProperty>
|
||||
<LayoutProperty><Name>PrimaryImage</Name><Value>{image:DisplayPicture}</Value></LayoutProperty>
|
||||
<LayoutProperty><Name>Publisher</Name><Value>{publisher-id:publisher}</Value></LayoutProperty>
|
||||
<LayoutProperty><Name>Action</Name><Value>{text:StatusText="has a new display picture"}</Value></LayoutProperty>
|
||||
</LayoutProperties>
|
||||
</TemplateTypeDetails>
|
||||
</LayoutDetails>
|
||||
</RecentActivityTemplate>
|
||||
</Templates>
|
||||
<ActivityType>
|
||||
<string>blog</string>
|
||||
<string>status</string>
|
||||
<string>photo</string>
|
||||
</ActivityType>
|
||||
<CanMergeItemsWithSameObjectID>false</CanMergeItemsWithSameObjectID>
|
||||
<RequiresNotification>false</RequiresNotification>
|
||||
</RecentActivityTemplateContainer>
|
||||
{%- endif %}
|
||||
{%- if 2 in types %}
|
||||
<RecentActivityTemplateContainer>
|
||||
<ApplicationId>1275182653</ApplicationId>
|
||||
<ApplicationName>Messenger</ApplicationName>
|
||||
<MiniIconSizeX>0</MiniIconSizeX>
|
||||
<MiniIconSizeY>0</MiniIconSizeY>
|
||||
<ChangeType>2</ChangeType>
|
||||
<Locale>{{ locale|e }}</Locale>
|
||||
<RequestedLocales>
|
||||
<string>{{ locale|e }}</string>
|
||||
</RequestedLocales>
|
||||
<TemplateRevision>2116</TemplateRevision>
|
||||
<Templates>
|
||||
<RecentActivityTemplate>
|
||||
<Cardinality>One</Cardinality>
|
||||
<Data>{image:Photo style="floatleft"}</Data>
|
||||
<Title>{publisher-id:publisher} {text:CanonicalStatusText}</Title>
|
||||
<LayoutDetails>
|
||||
<TemplateTypeDetails>
|
||||
<TemplateType>MessengerGrid</TemplateType>
|
||||
<LayoutProperties>
|
||||
<LayoutProperty><Name>Type</Name><Value>Photo</Value></LayoutProperty>
|
||||
<LayoutProperty><Name>PrimaryImage</Name><Value>{image:Photo}</Value></LayoutProperty>
|
||||
<LayoutProperty><Name>Publisher</Name><Value>{publisher-id:publisher}</Value></LayoutProperty>
|
||||
<LayoutProperty><Name>Action</Name><Value>{text:CanonicalStatusText}</Value></LayoutProperty>
|
||||
</LayoutProperties>
|
||||
</TemplateTypeDetails>
|
||||
</LayoutDetails>
|
||||
</RecentActivityTemplate>
|
||||
</Templates>
|
||||
<ActivityType>
|
||||
<string>status</string>
|
||||
<string>photo</string>
|
||||
</ActivityType>
|
||||
<CanMergeItemsWithSameObjectID>false</CanMergeItemsWithSameObjectID>
|
||||
<RequiresNotification>false</RequiresNotification>
|
||||
</RecentActivityTemplateContainer>
|
||||
{%- endif %}
|
||||
{%- for change_type, application_id, application_name in ((1, 1275182653, 'Messenger'), (20, 420, 'Announcements')) if change_type in types %}
|
||||
<RecentActivityTemplateContainer>
|
||||
<ApplicationId>{{ application_id }}</ApplicationId>
|
||||
<ApplicationName>{{ application_name }}</ApplicationName>
|
||||
<MiniIconSizeX>0</MiniIconSizeX>
|
||||
<MiniIconSizeY>0</MiniIconSizeY>
|
||||
<ChangeType>{{ change_type }}</ChangeType>
|
||||
<Locale>{{ locale|e }}</Locale>
|
||||
<RequestedLocales>
|
||||
<string>{{ locale|e }}</string>
|
||||
</RequestedLocales>
|
||||
<TemplateRevision>2116</TemplateRevision>
|
||||
<Templates>
|
||||
<RecentActivityTemplate>
|
||||
<Cardinality>One</Cardinality>
|
||||
<Data></Data>
|
||||
<Title>{publisher-id:publisher} {text:CanonicalStatusText}</Title>
|
||||
<LayoutDetails>
|
||||
<TemplateTypeDetails>
|
||||
<TemplateType>MessengerGrid</TemplateType>
|
||||
<LayoutProperties>
|
||||
<LayoutProperty><Name>Type</Name><Value>Status</Value></LayoutProperty>
|
||||
<LayoutProperty><Name>Publisher</Name><Value>{publisher-id:publisher}</Value></LayoutProperty>
|
||||
<LayoutProperty><Name>Action</Name><Value>{text:CanonicalStatusText}</Value></LayoutProperty>
|
||||
{%- if change_type == 20 %}
|
||||
<LayoutProperty><Name>Footer</Name><Value>via {hlink:AppName}</Value></LayoutProperty>
|
||||
{%- endif %}
|
||||
</LayoutProperties>
|
||||
</TemplateTypeDetails>
|
||||
</LayoutDetails>
|
||||
</RecentActivityTemplate>
|
||||
</Templates>
|
||||
<ActivityType>
|
||||
<string>status</string>
|
||||
</ActivityType>
|
||||
<CanMergeItemsWithSameObjectID>false</CanMergeItemsWithSameObjectID>
|
||||
<RequiresNotification>false</RequiresNotification>
|
||||
</RecentActivityTemplateContainer>
|
||||
{%- endfor %}
|
||||
</Templates>
|
||||
<FeedUrl>http://{{ settings.WEBSITE_HOST }}</FeedUrl>
|
||||
</GetContactsRecentActivityResult>
|
||||
</GetContactsRecentActivityResponse>
|
||||
<FeedUrl>https://{{ settings.SOCIAL_HOST }}</FeedUrl>
|
||||
</{{ action }}Result>
|
||||
</{{ action }}Response>
|
||||
</soap:Body>
|
||||
</soap:Envelope>
|
||||
+84
-1
@@ -20,7 +20,7 @@ async def preprocess_soap(req: web.Request) -> Tuple[Any, Any, Optional[BackendS
|
||||
mspauth = False
|
||||
|
||||
body = await req.read()
|
||||
root = parse_xml(body)
|
||||
root = parse_xml(body[:body.rfind(b'>') + 1])
|
||||
|
||||
token = find_element(root, 'TicketToken')
|
||||
if token is None:
|
||||
@@ -48,6 +48,66 @@ async def preprocess_soap(req: web.Request) -> Tuple[Any, Any, Optional[BackendS
|
||||
|
||||
return header, action, backend_sess, token
|
||||
|
||||
# What the Address Book and Contact Sharing services say for each of their error codes (`<errorcode>` in a fault's `<detail>`)
|
||||
ABCH_FAULT_STRINGS = {
|
||||
'ABAlreadyExists': 'Address Book Already Exists ',
|
||||
'ABDoesNotExist': 'Address Book Does Not Exist ',
|
||||
'BadArgumentLength': 'Argument Exceeded Allowed Length',
|
||||
'BadEmailArgument': 'Malformed email Argument',
|
||||
'ContactAlreadyExists': 'Contact Already Exists ',
|
||||
'ContactDoesNotExist': 'Contact Does Not Exist ',
|
||||
'DynamicItemDoesNotExist': 'Dynamic Item Does Not Exist ',
|
||||
'EmailDomainIsFederated': 'Email Domain Is Federated ',
|
||||
'FullSyncRequired': 'Full sync required. Details: Delta syncs disabled.',
|
||||
'GroupAlreadyExists': 'Group Already Exists ',
|
||||
'GroupDoesNotExist': 'Group Does Not Exist ',
|
||||
'InvalidPassportUser': 'The Passport user specified is invalid',
|
||||
'InvalidSyncTimeStamp': 'Invalid Sync Time Stamp ',
|
||||
'MemberAlreadyExists': 'Member already exists ',
|
||||
'MemberDoesNotExist': 'Member does not exist ',
|
||||
'PassportAuthFail': 'Passport Authentication Failed ',
|
||||
'RequestLimitReached': 'Request Limit Reached ',
|
||||
'SecureConnectionRequired': 'Secure Connection Required ',
|
||||
'UserDoesNotExist': 'User does not exist ',
|
||||
}
|
||||
|
||||
# The same for the Schematized Storage service
|
||||
STORAGE_FAULT_STRINGS = {
|
||||
'AccessDenied': 'Access Denied ',
|
||||
'GeneralException': 'General Exception ',
|
||||
'ItemAlreadyExists': 'Item Already Exists ',
|
||||
'ItemDoesNotExist': 'Item Does Not Exist ',
|
||||
'InvalidObjectHandle': 'Invalid Object Handle ',
|
||||
'InvalidDocumentStream': 'Invalid Document Stream ',
|
||||
}
|
||||
|
||||
def abch_fault(
|
||||
req: web.Request, action_str: str, errorcode: str, *, errorstring: Optional[str] = None, faultcode: str = 'soap:Client',
|
||||
parameter_fault: Optional[str] = None, conflict_object_id: Optional[str] = None,
|
||||
) -> web.Response:
|
||||
# An Address Book or Contact Sharing service fault (`errorcode` is one of `ABCH_FAULT_STRINGS`)
|
||||
return render(req, 'msn:abservice/Fault.abch.xml', {
|
||||
'action_str': action_str, 'faultcode': faultcode, 'errorcode': errorcode,
|
||||
'errorstring': (errorstring or ABCH_FAULT_STRINGS.get(errorcode) or errorcode), 'parameter_fault': parameter_fault,
|
||||
'conflict_object_id': conflict_object_id,
|
||||
}, status = 500)
|
||||
|
||||
def storage_fault(req: web.Request, storage_ns: str, action_str: str, errorcode: str, *, errorstring: Optional[str] = None) -> web.Response:
|
||||
# A Schematized Storage service fault (`errorcode` is one of `STORAGE_FAULT_STRINGS`)
|
||||
return render(req, 'msn:storageservice/Fault.storage.xml', {
|
||||
'storage_ns': storage_ns, 'action_str': action_str, 'errorcode': errorcode,
|
||||
'errorstring': (errorstring or STORAGE_FAULT_STRINGS.get(errorcode) or errorcode),
|
||||
}, status = 500)
|
||||
|
||||
def schema_fault(req: web.Request, actor: str, faultstring: Optional[str] = None) -> web.Response:
|
||||
# A request that's missing something, or has something that isn't allowed where it is (or `faultstring`, for a request
|
||||
# that's fine but can't be done)
|
||||
return render(req, 'msn:Fault.schema.xml', { 'actor': actor, 'faultstring': faultstring }, status = 500)
|
||||
|
||||
def server_fault(req: web.Request, actor: Optional[str] = None) -> web.Response:
|
||||
# Something went wrong handling the request; what it was stays in the server's log
|
||||
return render(req, 'msn:Fault.server.xml', { 'actor': actor }, status = 500)
|
||||
|
||||
def get_tag_localname(elm: Any) -> str:
|
||||
return lxml.etree.QName(elm.tag).localname
|
||||
|
||||
@@ -90,3 +150,26 @@ def parse_cookies(cookie_string: Optional[str]) -> Dict[str, Any]:
|
||||
cookie_dict[cookie_kv[0]] = cookie_data
|
||||
|
||||
return cookie_dict
|
||||
|
||||
async def dispatch_abch(req: web.Request, module: Any, prefix: str) -> web.Response:
|
||||
header, action, bs, _ = await preprocess_soap(req)
|
||||
if bs is None:
|
||||
raise web.HTTPForbidden()
|
||||
action_str = get_tag_localname(action)
|
||||
if find_element(action, 'deltasOnly') or find_element(action, 'DeltasOnly'):
|
||||
return render(req, 'msn:abservice/Fault.fullsync.xml', { 'faultactor': action_str })
|
||||
|
||||
if settings.DEBUG_FULL:
|
||||
print(xml_to_string(action))
|
||||
|
||||
method = getattr(module, prefix + '_' + action_str, None)
|
||||
if not method:
|
||||
return unknown_soap(req, header, action)
|
||||
|
||||
try:
|
||||
return method(req, header, action, bs)
|
||||
except:
|
||||
import traceback
|
||||
# The traceback goes to the log, not to the client
|
||||
traceback.print_exc()
|
||||
return server_fault(req, 'http://www.msn.com/webservices/AddressBook/{}'.format(action_str))
|
||||
Reference in new issue
Block a user