<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; JS (binary->HEX, HEX->binary)]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=14224</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14224&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «JS (binary->HEX, HEX->binary)».]]></description>
		<lastBuildDate>Tue, 09 Oct 2018 17:35:02 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: JS (binary->HEX, HEX->binary)]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=129127#p129127</link>
			<description><![CDATA[<p><strong>Xameleon</strong><br />Большое спасибо. Как-то даже и не заметил, что то же самое можно сделать стандартными средствами Windows <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> И гораздо проще!!!</p>]]></description>
			<author><![CDATA[null@example.com (babel45)]]></author>
			<pubDate>Tue, 09 Oct 2018 17:35:02 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=129127#p129127</guid>
		</item>
		<item>
			<title><![CDATA[Re: JS (binary->HEX, HEX->binary)]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=129118#p129118</link>
			<description><![CDATA[<p><strong>babel45</strong>, а что Вам мешает использовать подручные утилиты для этих целей ? В сообщениях, по Вашей ссылке, есть примеры использования утилиты <strong>certutil</strong>.</p><div class="codebox"><pre><code>
certutil -encodehex source destination
certutil -decodehex source destination
</code></pre></div><p>Подробнее про <strong>encodehex</strong><br /></p><div class="codebox"><pre><code>certutil -encodehex -?</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Xameleon)]]></author>
			<pubDate>Tue, 09 Oct 2018 08:39:02 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=129118#p129118</guid>
		</item>
		<item>
			<title><![CDATA[JS (binary->HEX, HEX->binary)]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=129114#p129114</link>
			<description><![CDATA[<p>Добрый день.<br />Нашел <a href="https://superuser.com/questions/732874/encode-binary-file-as-text-on-windows-2000-using-built-in-tools">js-скрипт</a>, который преобразует двоичные файлы в их шестнадцатеричный код и обратно.<br />Синтаксис команды для выполнения скрипта следующий:<br />cscript /nologo /e:jscript HexEncoder.js /e &quot;binary file&quot; &quot;output file&quot;<br />cscript /nologo /e:jscript HexEncoder.js /d &quot;encoded file&quot; &quot;binary file&quot;<br />Что касается прямого преобразования, то скрипт прекрасно отрабатывается.<br />А вот наоборот, к сожалению, ничего не получается. Выскакивает ошибка:<br />E:\powershell\hexencoder&gt;cscript /nologo /e:jscript HexEncoder.js /d &quot;E:\powershell\hexencoder\1.txt&quot; &quot;E:\powershell\hexencoder\EncryptDecrypt.zip&quot;<br />E:\powershell\hexencoder\HexEncoder.js(158, 13) Ошибка выполнения Microsoft JScript: Недопустимый вызов или аргумент процедуры<br />Видимо, в коде скрипта автор чего-то недоработал.<br />Если кто сможет разобраться сходу с правильным решением, помогите, пожалуйста.<br />Спасибо.</p>]]></description>
			<author><![CDATA[null@example.com (babel45)]]></author>
			<pubDate>Mon, 08 Oct 2018 20:06:17 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=129114#p129114</guid>
		</item>
	</channel>
</rss>
