Protocols/MSNP/Development: Difference between revisions
No edit summary |
Animadoria (talk | contribs) (Gramatical) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Protocols/MSNP}} | |||
=== Clean Install === | |||
Create a <code>.bat</code> file with the contents shown below but replace <code>{EmailAddress}</code> with the email address you are using on MSN Messenger: | |||
<pre>rmdir /S /Q "%USERPROFILE%\AppData\Local\Microsoft\Messenger" | |||
rmdir /S /Q "%USERPROFILE%\AppData\Local\Microsoft\MSN Messenger" | |||
rmdir /S /Q "%USERPROFILE%\AppData\Local\Microsoft\Windows Live Contacts\{EmailAddress}" | |||
rmdir /S /Q "%USERPROFILE%\AppData\Local\Microsoft\Windows Live\Contacts" | |||
rmdir /S /Q "%USERPROFILE%\AppData\Local\Temp\MessengerCache" | |||
rmdir /S /Q "%USERPROFILE%\AppData\Local\Temp\{EmailAddress}" | |||
rmdir /S /Q "%USERPROFILE%\AppData\Local\Temp\{EmailAddress}.shadow" | |||
rmdir /S /Q "%USERPROFILE%\AppData\Roaming\Microsoft\MSN Messenger" | |||
rmdir /S /Q "%USERPROFILE%\Contacts\{EmailAddress}" | |||
REG DELETE "HKLM\Software\Microsoft\Windows Live\Messenger" /f | |||
REG DELETE "HKLM\Software\Microsoft\MSNMessenger" /f | |||
REG DELETE "HKCU\Software\Microsoft\MSNMessenger" /f | |||
REG DELETE "HKCU\Software\Microsoft\Windows Live\Communications Clients\Shared" /f | |||
REG DELETE "HKCU\Software\Microsoft\IdentityCRL" /f | |||
pause</pre> | |||
Start the <code>.bat</code> file by right clicking on it and select <code>Run as administrator</code>. | |||
You may also want to remove your <code>Temporary Files</code> and <code>Temporary Internet Files</code> using <code>Disk Cleanup</code> or <code>CCleaner</code>. | |||
'''Sources:''' | |||
https://messengersupportspace.wordpress.com/2009/05/29/clean-installation-of-windows-live-messenger-%e2%80%93-windows-vista/ | |||
https://messengersupportspace.wordpress.com/2009/05/29/clean-installation-of-windows-live-messenger-%e2%80%93-windows-xp/ | |||
=== Debug Logging === | === Debug Logging === | ||
'''Messenger''' | |||
Messenger for Windows has the ability to create a log file. | Messenger for Windows has the ability to create a log file. | ||
Here is a reg file [ | Here is a reg file [https://storage.levelleap.com/nina/protocols/msnp/development/Debug.reg Debug.reg] to enable the logging on (at least) versions < 9. | ||
The log file will be in the | The log file will be in the <code>Documents > My Received Files</code> (the folder name depends on Messenger language). | ||
In Windows Live Messenger, you will find some logs there: | In Windows Live Messenger, you will find some logs there: <code>C:\Users\{user}\AppData\Local\Microsoft\Messenger\</code> | ||
'''Microsoft Identity Control''' | |||
You can use these 2 reg files to turn on/off logging for microsoft identity control components (msidcrl, | You can use these 2 reg files to turn on/off logging for microsoft identity control components (msidcrl, …): | ||
[ | [https://storage.levelleap.com/nina/protocols/msnp/development/Enable_Logging.reg Enable_Logging.reg] | ||
[ | [https://storage.levelleap.com/nina/protocols/msnp/development/Disable_Logging.reg Disable_Logging.reg] | ||
The path were the log will be is in the reg file. | The path were the log will be is in the reg file. If you don’t change the path in the reg files, you need to create 2 folders: <code>C:\MSOTrace</code> and <code>C:\MSOTraceLite</code> | ||
If you | |||
'''Sources''' | |||
NOTE: Please replace | NOTE: Please replace <code>MSOIdentityCRL</code> by <code>IdentityCRL</code> in registry keys name when needed. | ||
https://messengersupportspace.wordpress.com/2007/08/03/how-to-create-a-messenger-idcrl-log/ | https://messengersupportspace.wordpress.com/2007/08/03/how-to-create-a-messenger-idcrl-log/ | ||
Line 33: | Line 61: | ||
https://support.microsoft.com/de-de/help/2433327/how-to-enable-and-disable-a-trace-for-the-microsoft-online-services-sign-in-assistant | https://support.microsoft.com/de-de/help/2433327/how-to-enable-and-disable-a-trace-for-the-microsoft-online-services-sign-in-assistant | ||
</pre> | |||
==== OLD ==== | |||
If you are a user having issues with Escargot, please: | |||
# Uninstall MSN Messenger by going to <code>Control Panel</code> > <code>Programs</code> > <code>Programs and Features</code> (for Windows 7; <code>Control Panel</code> > <code>Add/Remove Programs</code> in Windows XP and below), select <code>MSN Messenger x.x</code>, or <code>Windows Live Messenger</code> in the list and click on <code>Uninstall</code>. | |||
# Check that the <code>C:\Program Files\MSN Messenger</code>/<code>C:\Program Files (x86)\MSN Messenger</code> folder (<code>C:\Program Files\Windows Live\Messenger</code>/<code>C:\Program Files (x86)\Windows Live\Messenger</code> for WLM 8.5) doesn’t exist anymore or is empty. If files still reside in the specified folders, delete them. | |||
# Reinstall MSN Messenger by either using the pre-patched installers found on [https://escargot.log1p.xyz/#downloads this page] (if you already have it '''please redownload it''' because we may have changed it since the last time you downloaded it), or you can alternatively download an unpatched version and manually patch it. | |||
# If MSN Messenger is open, close it by right clicking on the MSN Messenger icon in the system tray (the area with the system date/time and other icons) and click on the <code>Exit</code> menu strip. | |||
# Create a folder named <code>Escargot</code> in the root of your system’s hard drive (e.g, <code>C:\Escargot</code>). | |||
# Download [[uploads/0096c550020071acfda1183930714b93/Debug_Escargot.reg|Debug_Escargot.reg]] and launch it by double clicking on it. At the “Adding information can unintentionally change or delete values and cause components to stop working correctly. (…) Are you sure you want to continue?” prompt, click on <code>Yes</code>. | |||
# Download [https://storage.googleapis.com/escargot-storage-1/public/msidcrl-debug.dll msidcrl-debug.dll], rename it to <code>msidcrl.dll</code> and use it to replace <code>msidcrl.dll</code> in <code>C:\Program Files\MSN Messenger</code>/<code>C:\Program Files (x86)\MSN Messenger</code> (or <code>C:\Program Files\Windows Live\Messenger</code>/<code>C:\Program Files (x86)\Windows Live\Messenger</code> for WLM 8.5). | |||
# Launch MSN Messenger. | |||
# Try logging in or try to reproduce the problem you are dealing with. | |||
# Refer to Step 4. | |||
# Download [[uploads/c79bd28c0d9de7b572b68230c04943d6/Stop-Debug_Escargot.reg|Stop-Debug_Escargot.reg]] and follow the same instructions in Step 6. | |||
# Go to the <code>Escargot</code> folder you created in the root of your system’s hard drive and send us the files you have inside it. | |||
# Go to the <code>C:\Program Files\MSN Messenger</code>/<code>C:\Program Files (x86)\MSN Messenger</code> (or <code>C:\Program Files\Windows Live\Messenger</code>/<code>C:\Program Files (x86)\Windows Live\Messenger</code> for WLM 8.5) folder and send us the <code>escargot-msidcrl.log</code> created inside said folder. | |||
# Go to <code>My Received Files</code> folder (or the language-specific version of the folder, if any) in your <code>Documents</code> folder and send us the <code>MsnMsgr.txt</code> file in there as well. | |||
=== Tools === | === Tools === | ||
Here | Here are some tools that may be useful: | ||
==== API monitor: ==== | ==== API monitor: ==== | ||
Line 78: | Line 124: | ||
* MSN Webcam Recorder: http://msnwcrec.arrozcru.org/index.html | * MSN Webcam Recorder: http://msnwcrec.arrozcru.org/index.html | ||
* MSN Polygamy: https://storage.levelleap.com/nina/clients/msnp/misc/MSN_Polygamy.exe | * MSN Polygamy: https://storage.levelleap.com/nina/clients/msnp/misc/MSN_Polygamy.exe | ||
[[Category:MSN]] | |||
[[Category:Protocols/MSNP]] | |||
[[Category:Work_In_Progress]] |
Latest revision as of 03:18, 27 June 2023
MSNP Protocol |
Introduction • Terms • Clients |
Reference |
Error List • Commands • Relying Party Suite • Spotlife |
Services |
XMPP • HTTP Gateway • Tabs • Activities |
Documentation |
Development Tools • MSNP Grid |
Polygamy • URLs used by MSN |
Documents |
Protocol Versions |
Version 21 |
Version 18 |
Version 16 |
Version 15 |
Version 14 |
Version 13 |
Version 12 |
Version 11 |
Version 9 |
Version 8 |
Version 2 |
MSNC |
Introduction • P2P • Object Descriptor • Display Pictures • File Transfer |
Scenarios |
Microsoft Messenger for Mac |
MSNP on WebTV (MSNTV) |
Clean Install
Create a .bat
file with the contents shown below but replace {EmailAddress}
with the email address you are using on MSN Messenger:
rmdir /S /Q "%USERPROFILE%\AppData\Local\Microsoft\Messenger" rmdir /S /Q "%USERPROFILE%\AppData\Local\Microsoft\MSN Messenger" rmdir /S /Q "%USERPROFILE%\AppData\Local\Microsoft\Windows Live Contacts\{EmailAddress}" rmdir /S /Q "%USERPROFILE%\AppData\Local\Microsoft\Windows Live\Contacts" rmdir /S /Q "%USERPROFILE%\AppData\Local\Temp\MessengerCache" rmdir /S /Q "%USERPROFILE%\AppData\Local\Temp\{EmailAddress}" rmdir /S /Q "%USERPROFILE%\AppData\Local\Temp\{EmailAddress}.shadow" rmdir /S /Q "%USERPROFILE%\AppData\Roaming\Microsoft\MSN Messenger" rmdir /S /Q "%USERPROFILE%\Contacts\{EmailAddress}" REG DELETE "HKLM\Software\Microsoft\Windows Live\Messenger" /f REG DELETE "HKLM\Software\Microsoft\MSNMessenger" /f REG DELETE "HKCU\Software\Microsoft\MSNMessenger" /f REG DELETE "HKCU\Software\Microsoft\Windows Live\Communications Clients\Shared" /f REG DELETE "HKCU\Software\Microsoft\IdentityCRL" /f pause
Start the .bat
file by right clicking on it and select Run as administrator
.
You may also want to remove your Temporary Files
and Temporary Internet Files
using Disk Cleanup
or CCleaner
.
Sources:
Debug Logging
Messenger
Messenger for Windows has the ability to create a log file.
Here is a reg file Debug.reg to enable the logging on (at least) versions < 9.
The log file will be in the Documents > My Received Files
(the folder name depends on Messenger language).
In Windows Live Messenger, you will find some logs there: C:\Users\{user}\AppData\Local\Microsoft\Messenger\
Microsoft Identity Control
You can use these 2 reg files to turn on/off logging for microsoft identity control components (msidcrl, …):
The path were the log will be is in the reg file. If you don’t change the path in the reg files, you need to create 2 folders: C:\MSOTrace
and C:\MSOTraceLite
Sources
NOTE: Please replace MSOIdentityCRL
by IdentityCRL
in registry keys name when needed.
https://messengersupportspace.wordpress.com/2007/08/03/how-to-create-a-messenger-idcrl-log/
OLD
If you are a user having issues with Escargot, please:
- Uninstall MSN Messenger by going to
Control Panel
>Programs
>Programs and Features
(for Windows 7;Control Panel
>Add/Remove Programs
in Windows XP and below), selectMSN Messenger x.x
, orWindows Live Messenger
in the list and click onUninstall
. - Check that the
C:\Program Files\MSN Messenger
/C:\Program Files (x86)\MSN Messenger
folder (C:\Program Files\Windows Live\Messenger
/C:\Program Files (x86)\Windows Live\Messenger
for WLM 8.5) doesn’t exist anymore or is empty. If files still reside in the specified folders, delete them. - Reinstall MSN Messenger by either using the pre-patched installers found on this page (if you already have it please redownload it because we may have changed it since the last time you downloaded it), or you can alternatively download an unpatched version and manually patch it.
- If MSN Messenger is open, close it by right clicking on the MSN Messenger icon in the system tray (the area with the system date/time and other icons) and click on the
Exit
menu strip. - Create a folder named
Escargot
in the root of your system’s hard drive (e.g,C:\Escargot
). - Download Debug_Escargot.reg and launch it by double clicking on it. At the “Adding information can unintentionally change or delete values and cause components to stop working correctly. (…) Are you sure you want to continue?” prompt, click on
Yes
. - Download msidcrl-debug.dll, rename it to
msidcrl.dll
and use it to replacemsidcrl.dll
inC:\Program Files\MSN Messenger
/C:\Program Files (x86)\MSN Messenger
(orC:\Program Files\Windows Live\Messenger
/C:\Program Files (x86)\Windows Live\Messenger
for WLM 8.5). - Launch MSN Messenger.
- Try logging in or try to reproduce the problem you are dealing with.
- Refer to Step 4.
- Download Stop-Debug_Escargot.reg and follow the same instructions in Step 6.
- Go to the
Escargot
folder you created in the root of your system’s hard drive and send us the files you have inside it. - Go to the
C:\Program Files\MSN Messenger
/C:\Program Files (x86)\MSN Messenger
(orC:\Program Files\Windows Live\Messenger
/C:\Program Files (x86)\Windows Live\Messenger
for WLM 8.5) folder and send us theescargot-msidcrl.log
created inside said folder. - Go to
My Received Files
folder (or the language-specific version of the folder, if any) in yourDocuments
folder and send us theMsnMsgr.txt
file in there as well.
Tools
Here are some tools that may be useful:
API monitor:
- WinAPIOverride: http://jacquelin.potier.free.fr/winapioverride32/
- API Monitor: http://www.rohitab.com/apimonitor
- SpyStudio API Monitor: http://www.nektra.com/products/spystudio-api-monitor/
- API Monitor: http://apimonitor.com/
- Auto Debug: http://autodebug.com/
- Tracer: https://yurichev.com/tracer-en.html
- API Spy: http://www.matcode.com/apis32.htm
- oSpy: https://github.com/oleavr/ospy
Network monitor:
- WireShark: https://www.wireshark.org/
- Fiddler: http://www.telerik.com/fiddler
- RawCap: http://www.netresec.com/?page=RawCap
- DNSQuerySniffer: http://www.nirsoft.net/utils/dns_query_sniffer.html
- SocketSniffer: http://www.nirsoft.net/utils/socket_sniffer.htm
- IMSpector: http://www.imspector.org/
Disassembly:
- IDA: https://www.hex-rays.com/products/ida/
- IDA FindCrypt plugin: https://www.aldeid.com/wiki/IDA-Pro/plugins/FindCrypt2
Strings extraction:
- Strings2: http://split-code.com/strings2.html
API hooking:
- Detours: https://www.microsoft.com/en-us/download/details.aspx?id=52586
- Deviare: http://www.nektra.com/products/deviare-api-hook-windows/ ( http://www.nektra.com/products/deviare-api-hook-windows/deviare-in-process/ )
- EasyHook: https://easyhook.github.io/
Various:
- MSN Webcam Recorder: http://msnwcrec.arrozcru.org/index.html
- MSN Polygamy: https://storage.levelleap.com/nina/clients/msnp/misc/MSN_Polygamy.exe