Post Closed as "off-topic" by perror, Avery3R, Megabeets, usr2564301, julian
4 deleted 185 characters in body
source | link

I have a broken installation of Metalogix Archive Manager (MAM). Sometimes, I need to go and retrieve attachments that this has archived when it was previously working.

The original attachment name can be anything.pdf. The attachment name for an archived PDF looks like this - 2_000f834l.pdf.zip

The HTTP request for the PDF above - http://mam/exchangePAMWS/GetAttachment.aspx?PARAM=003D05g0mg1g04k0fg1204w09w1404Y0gM1904g0fg0N0480cg0M0380dg0Q0340cM0R03o0cM0Q04o0dg0M0480e01403w0dw0M03k0cw0Q03o0d00T03s0d00M04809w1304Y0jw1904g0fg0Q03c0cg0T03k0d00O03g0800w

I would like to know how I can extract the archived attachment name from that giant string.

I've uploaded the GetAttachment.cs file referenced by the GetAttachment.aspx file, as well as the original DLL it came from.

https://s3-us-west-2.amazonaws.com/mam-re/GetAttachment.cs

https://s3-us-west-2.amazonaws.com/mam-re/EncodeUtils.cs

https://s3-us-west-2.amazonaws.com/mam-re/exchangePAMWS.dll (Sorry if it's bad form to link a DLL here If anyone is interested, I'm new)I can send over the DLLs.

Edit

Ok, I've found some things here using Visual Studio interactive mode.

The Decode6Bit function in EncodeUtils.cs is the key. I've ran that function using the PARAM value above -

> var txt = "003D05g0mg1g04k0fg1204w09w1404Y0gM1904g0fg0N0480cg0M0380dg0Q0340cM0R03o0cM0Q04o0dg0M0480e01403w0dw0M03k0cw0Q03o0d00T03s0d00M04809w1304Y0jw1904g0fg0Q03c0cg0T03k0d00O03g0800w";
> Console.WriteLine(Decode6bit(txt))
TYPE=BH&DOCID=1B10254135634F50B8D860524647740B&CONID=43175424

I have a broken installation of Metalogix Archive Manager (MAM). Sometimes, I need to go and retrieve attachments that this has archived when it was previously working.

The original attachment name can be anything.pdf. The attachment name for an archived PDF looks like this - 2_000f834l.pdf.zip

The HTTP request for the PDF above - http://mam/exchangePAMWS/GetAttachment.aspx?PARAM=003D05g0mg1g04k0fg1204w09w1404Y0gM1904g0fg0N0480cg0M0380dg0Q0340cM0R03o0cM0Q04o0dg0M0480e01403w0dw0M03k0cw0Q03o0d00T03s0d00M04809w1304Y0jw1904g0fg0Q03c0cg0T03k0d00O03g0800w

I would like to know how I can extract the archived attachment name from that giant string.

I've uploaded the GetAttachment.cs file referenced by the GetAttachment.aspx file, as well as the original DLL it came from.

https://s3-us-west-2.amazonaws.com/mam-re/GetAttachment.cs

https://s3-us-west-2.amazonaws.com/mam-re/EncodeUtils.cs

https://s3-us-west-2.amazonaws.com/mam-re/exchangePAMWS.dll (Sorry if it's bad form to link a DLL here, I'm new).

Edit

Ok, I've found some things here using Visual Studio interactive mode.

The Decode6Bit function in EncodeUtils.cs is the key. I've ran that function using the PARAM value above -

> var txt = "003D05g0mg1g04k0fg1204w09w1404Y0gM1904g0fg0N0480cg0M0380dg0Q0340cM0R03o0cM0Q04o0dg0M0480e01403w0dw0M03k0cw0Q03o0d00T03s0d00M04809w1304Y0jw1904g0fg0Q03c0cg0T03k0d00O03g0800w";
> Console.WriteLine(Decode6bit(txt))
TYPE=BH&DOCID=1B10254135634F50B8D860524647740B&CONID=43175424

I have a broken installation of Metalogix Archive Manager (MAM). Sometimes, I need to go and retrieve attachments that this has archived when it was previously working.

The original attachment name can be anything.pdf. The attachment name for an archived PDF looks like this - 2_000f834l.pdf.zip

The HTTP request for the PDF above - http://mam/exchangePAMWS/GetAttachment.aspx?PARAM=003D05g0mg1g04k0fg1204w09w1404Y0gM1904g0fg0N0480cg0M0380dg0Q0340cM0R03o0cM0Q04o0dg0M0480e01403w0dw0M03k0cw0Q03o0d00T03s0d00M04809w1304Y0jw1904g0fg0Q03c0cg0T03k0d00O03g0800w

I would like to know how I can extract the archived attachment name from that giant string.

I've uploaded the GetAttachment.cs file referenced by the GetAttachment.aspx file, as well as the original DLL it came from.

If anyone is interested, I can send over the DLLs.

Edit

Ok, I've found some things here using Visual Studio interactive mode.

The Decode6Bit function in EncodeUtils.cs is the key. I've ran that function using the PARAM value above -

> var txt = "003D05g0mg1g04k0fg1204w09w1404Y0gM1904g0fg0N0480cg0M0380dg0Q0340cM0R03o0cM0Q04o0dg0M0480e01403w0dw0M03k0cw0Q03o0d00T03s0d00M04809w1304Y0jw1904g0fg0Q03c0cg0T03k0d00O03g0800w";
> Console.WriteLine(Decode6bit(txt))
TYPE=BH&DOCID=1B10254135634F50B8D860524647740B&CONID=43175424
3 added 495 characters in body
source | link

I have a broken installation of Metalogix Archive Manager (MAM). Sometimes, I need to go and retrieve attachments that this has archived when it was previously working.

The original attachment name can be anything.pdf. The attachment name for an archived PDF looks like this - 2_000f834l.pdf.zip

The HTTP request for the PDF above - http://mam/exchangePAMWS/GetAttachment.aspx?PARAM=003D05g0mg1g04k0fg1204w09w1404Y0gM1904g0fg0N0480cg0M0380dg0Q0340cM0R03o0cM0Q04o0dg0M0480e01403w0dw0M03k0cw0Q03o0d00T03s0d00M04809w1304Y0jw1904g0fg0Q03c0cg0T03k0d00O03g0800w

I would like to know how I can extract the archived attachment name from that giant string.

I've uploaded the GetAttachment.cs file referenced by the GetAttachment.aspx file, as well as the original DLL it came from.

https://s3-us-west-2.amazonaws.com/mam-re/GetAttachment.cs

https://s3-us-west-2.amazonaws.com/mam-re/EncodeUtils.cs

https://s3-us-west-2.amazonaws.com/mam-re/exchangePAMWS.dll (Sorry if it's bad form to link a DLL here, I'm new).

Edit

Ok, I've found some things here using Visual Studio interactive mode.

The Decode6Bit function in EncodeUtils.cs is the key. I've ran that function using the PARAM value above -

> var txt = "003D05g0mg1g04k0fg1204w09w1404Y0gM1904g0fg0N0480cg0M0380dg0Q0340cM0R03o0cM0Q04o0dg0M0480e01403w0dw0M03k0cw0Q03o0d00T03s0d00M04809w1304Y0jw1904g0fg0Q03c0cg0T03k0d00O03g0800w";
> Console.WriteLine(Decode6bit(txt))
TYPE=BH&DOCID=1B10254135634F50B8D860524647740B&CONID=43175424

I have a broken installation of Metalogix Archive Manager (MAM). Sometimes, I need to go and retrieve attachments that this has archived when it was previously working.

The original attachment name can be anything.pdf. The attachment name for an archived PDF looks like this - 2_000f834l.pdf.zip

The HTTP request for the PDF above - http://mam/exchangePAMWS/GetAttachment.aspx?PARAM=003D05g0mg1g04k0fg1204w09w1404Y0gM1904g0fg0N0480cg0M0380dg0Q0340cM0R03o0cM0Q04o0dg0M0480e01403w0dw0M03k0cw0Q03o0d00T03s0d00M04809w1304Y0jw1904g0fg0Q03c0cg0T03k0d00O03g0800w

I would like to know how I can extract the archived attachment name from that giant string.

I've uploaded the GetAttachment.cs file referenced by the GetAttachment.aspx file, as well as the original DLL it came from.

https://s3-us-west-2.amazonaws.com/mam-re/GetAttachment.cs

https://s3-us-west-2.amazonaws.com/mam-re/EncodeUtils.cs

https://s3-us-west-2.amazonaws.com/mam-re/exchangePAMWS.dll (Sorry if it's bad form to link a DLL here, I'm new).

I have a broken installation of Metalogix Archive Manager (MAM). Sometimes, I need to go and retrieve attachments that this has archived when it was previously working.

The original attachment name can be anything.pdf. The attachment name for an archived PDF looks like this - 2_000f834l.pdf.zip

The HTTP request for the PDF above - http://mam/exchangePAMWS/GetAttachment.aspx?PARAM=003D05g0mg1g04k0fg1204w09w1404Y0gM1904g0fg0N0480cg0M0380dg0Q0340cM0R03o0cM0Q04o0dg0M0480e01403w0dw0M03k0cw0Q03o0d00T03s0d00M04809w1304Y0jw1904g0fg0Q03c0cg0T03k0d00O03g0800w

I would like to know how I can extract the archived attachment name from that giant string.

I've uploaded the GetAttachment.cs file referenced by the GetAttachment.aspx file, as well as the original DLL it came from.

https://s3-us-west-2.amazonaws.com/mam-re/GetAttachment.cs

https://s3-us-west-2.amazonaws.com/mam-re/EncodeUtils.cs

https://s3-us-west-2.amazonaws.com/mam-re/exchangePAMWS.dll (Sorry if it's bad form to link a DLL here, I'm new).

Edit

Ok, I've found some things here using Visual Studio interactive mode.

The Decode6Bit function in EncodeUtils.cs is the key. I've ran that function using the PARAM value above -

> var txt = "003D05g0mg1g04k0fg1204w09w1404Y0gM1904g0fg0N0480cg0M0380dg0Q0340cM0R03o0cM0Q04o0dg0M0480e01403w0dw0M03k0cw0Q03o0d00T03s0d00M04809w1304Y0jw1904g0fg0Q03c0cg0T03k0d00O03g0800w";
> Console.WriteLine(Decode6bit(txt))
TYPE=BH&DOCID=1B10254135634F50B8D860524647740B&CONID=43175424
2 added 60 characters in body
source | link

I have a broken installation of Metalogix Archive Manager (MAM). Sometimes, I need to go and retrieve attachments that this has archived when it was previously working.

The original attachment name can be anything.pdf. The attachment name for an archived PDF looks like this - 2_000f834l.pdf.zip

The HTTP request for the PDF above - http://mam/exchangePAMWS/GetAttachment.aspx?PARAM=003D05g0mg1g04k0fg1204w09w1404Y0gM1904g0fg0N0480cg0M0380dg0Q0340cM0R03o0cM0Q04o0dg0M0480e01403w0dw0M03k0cw0Q03o0d00T03s0d00M04809w1304Y0jw1904g0fg0Q03c0cg0T03k0d00O03g0800w

I would like to know how I can extract the archived attachment name from that giant string.

I've uploaded the GetAttachment.cs file referenced by the GetAttachment.aspx file, as well as the original DLL it came from.

https://s3-us-west-2.amazonaws.com/mam-re/GetAttachment.cs

https://s3-us-west-2.amazonaws.com/mam-re/EncodeUtils.cs

https://s3-us-west-2.amazonaws.com/mam-re/exchangePAMWS.dll (Sorry if it's bad form to link a DLL here, I'm new).

I have a broken installation of Metalogix Archive Manager (MAM). Sometimes, I need to go and retrieve attachments that this has archived when it was previously working.

The original attachment name can be anything.pdf. The attachment name for an archived PDF looks like this - 2_000f834l.pdf.zip

The HTTP request for the PDF above - http://mam/exchangePAMWS/GetAttachment.aspx?PARAM=003D05g0mg1g04k0fg1204w09w1404Y0gM1904g0fg0N0480cg0M0380dg0Q0340cM0R03o0cM0Q04o0dg0M0480e01403w0dw0M03k0cw0Q03o0d00T03s0d00M04809w1304Y0jw1904g0fg0Q03c0cg0T03k0d00O03g0800w

I would like to know how I can extract the archived attachment name from that giant string.

I've uploaded the GetAttachment.cs file referenced by the GetAttachment.aspx file, as well as the original DLL it came from.

https://s3-us-west-2.amazonaws.com/mam-re/GetAttachment.cs

https://s3-us-west-2.amazonaws.com/mam-re/exchangePAMWS.dll (Sorry if it's bad form to link a DLL here, I'm new).

I have a broken installation of Metalogix Archive Manager (MAM). Sometimes, I need to go and retrieve attachments that this has archived when it was previously working.

The original attachment name can be anything.pdf. The attachment name for an archived PDF looks like this - 2_000f834l.pdf.zip

The HTTP request for the PDF above - http://mam/exchangePAMWS/GetAttachment.aspx?PARAM=003D05g0mg1g04k0fg1204w09w1404Y0gM1904g0fg0N0480cg0M0380dg0Q0340cM0R03o0cM0Q04o0dg0M0480e01403w0dw0M03k0cw0Q03o0d00T03s0d00M04809w1304Y0jw1904g0fg0Q03c0cg0T03k0d00O03g0800w

I would like to know how I can extract the archived attachment name from that giant string.

I've uploaded the GetAttachment.cs file referenced by the GetAttachment.aspx file, as well as the original DLL it came from.

https://s3-us-west-2.amazonaws.com/mam-re/GetAttachment.cs

https://s3-us-west-2.amazonaws.com/mam-re/EncodeUtils.cs

https://s3-us-west-2.amazonaws.com/mam-re/exchangePAMWS.dll (Sorry if it's bad form to link a DLL here, I'm new).

1
source | link