Socket
Socket
Sign inDemoInstall

nandokujs

Package Overview
Dependencies
0
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.26 to 0.0.27

14

index.js

@@ -51,10 +51,10 @@ #!/usr/bin/env node

console.log(" -m (--mode) [execute eval] Set the expansion condition.");
console.log(" When [true] Expand obfuscated information with eval");
console.log(" [false] Extract obfuscated information with location = `javascript:`")
console.log(" If not used, [true] is set.")
console.log(" When [true] Expand obfuscated information with eval");
console.log(" [false] Extract obfuscated information with location = `javascript:`")
console.log(" If not used, [true] is set.")
console.log(" -t (--tally) [tally code] Set tally code.")
console.log(" html side js call (<script src='target js'></script>)");
console.log(" <script> var _$tallyCode = 'tally code'; </script>");
console.log(" Define.");
console.log(" If you do not use it, please do not set it.");
console.log(" html side js call (<script src='target js'></script>)");
console.log(" <script> var _$tallyCode = 'tally code'; </script>");
console.log(" Define.");
console.log(" If you do not use it, please do not set it.");
console.log(" -v (--version) Version information will be returned.");

@@ -61,0 +61,0 @@ console.log(" -h (--help) Help information will be returned.");

@@ -6,3 +6,3 @@ {

},
"version": "0.0.26",
"version": "0.0.27",
"description": "nandokujs is an obfuscation tool for obfuscating javascript files to be published on the Web and making it difficult to analyze the contents.",

@@ -9,0 +9,0 @@ "main": "index.js",

@@ -43,10 +43,10 @@ # nandokujs とは

-m (--mode) [execute eval] Set the expansion condition.
When [true] Expand obfuscated information with eval
[false] Extract obfuscated information with location = `javascript:`
If not used, [true] is set.
When [true] Expand obfuscated information with eval
[false] Extract obfuscated information with location = `javascript:`
If not used, [true] is set.
-t (--tally) [tally code] Set tally code.
html side js call (<script src='target js'></script>)
<script> var _$tallyCode = 'tally code'; </script>
Define.
If you do not use it, please do not set it.
html side js call (<script src='target js'></script>)
<script> var _$tallyCode = 'tally code'; </script>
Define.
If you do not use it, please do not set it.
-v (--version) Version information will be returned.

@@ -68,3 +68,5 @@ -h (--help) Help information will be returned.

この設定を省略した場合は[true]扱いになります。
この設定を行う理由として、eval で難読化された情報を展開させたくなくて location="javascript:" で展開させたい場合があると思います。
この設定を行う理由として、eval で難読化された情報を展開させたくなくて
location="javascript:" で展開させたい場合があると思います。
eval実行でエラーになる場合などです。

@@ -76,3 +78,4 @@ そのような場合に利用します。

```
その場合は、webに公開するjavascript呼び出し元に対して、以下のようにコーディングする必要があります.
その場合は、webに公開するjavascript呼び出し元に対して、
以下のようにコーディングする必要があります.
```

@@ -79,0 +82,0 @@

@@ -43,10 +43,10 @@ # What is nandokujs

-m (--mode) [execute eval] Set the expansion condition.
When [true] Expand obfuscated information with eval
[false] Extract obfuscated information with location = `javascript:`
If not used, [true] is set.
When [true] Expand obfuscated information with eval
[false] Extract obfuscated information with location = `javascript:`
If not used, [true] is set.
-t (--tally) [tally code] Set tally code.
html side js call (<script src='target js'></script>)
<script> var _$tallyCode = 'tally code'; </script>
Define.
If you do not use it, please do not set it.
html side js call (<script src='target js'></script>)
<script> var _$tallyCode = 'tally code'; </script>
Define.
If you do not use it, please do not set it.
-v (--version) Version information will be returned.

@@ -67,3 +67,6 @@ -h (--help) Help information will be returned.

If this setting is omitted, it will be treated as [true].
As a reason to do this setting, there are cases where you do not want to extract obfuscated information in eval, but you want to expand it with location = "javascript:".
As a reason to do this setting, there are cases where you do not want to
extract obfuscated information in eval, but you want to expand it with
location = "javascript:".
For example, when an error occurs during eval execution.

@@ -75,3 +78,4 @@ It is used in such a case.

```
In that case, it is necessary to code as follows for the javascript caller to publish on the web.
In that case, it is necessary to code as follows for the javascript
caller to publish on the web.
```

@@ -78,0 +82,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc