下記から。
https://blogs.msdn.microsoft.com/oldnewthing/20041025-00/?p=37483
EXTERN_C IMAGE_DOS_HEADER __ImageBase;
#define HINST_THISCOMPONENT ((HINSTANCE)&__ImageBase)| diff --git a/recpt1core.c b/recpt1core.c | |
| index 168a023..36dd1fd 100644 | |
| --- a/recpt1core.c | |
| +++ b/recpt1core.c | |
| @@ -39,11 +39,50 @@ close_tuner(thread_data *tdata) | |
| } | |
| void | |
| +print_stat(struct dtv_stats stat) | |
| +{ |
下記から。
https://blogs.msdn.microsoft.com/oldnewthing/20041025-00/?p=37483
EXTERN_C IMAGE_DOS_HEADER __ImageBase;
#define HINST_THISCOMPONENT ((HINSTANCE)&__ImageBase)気象庁防災情報XMLをご存知でしょうか。天気予報や警報を主に、多種多様な情報が気象庁から公開されています。
現在、ユーザ登録をすれば誰でも無料で受け取ることができます。
2020年8月で運用終了しました。
実際、どんな情報が来るのか簡単に見てみましょう。
| @font-face { | |
| font-family: SegoeUI; | |
| src: | |
| local("Segoe UI Light"), | |
| url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.woff2) format("woff2"), | |
| url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.woff) format("woff"), | |
| url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.ttf) format("truetype"); | |
| font-weight: 100; | |
| } |
| //-------- add this to webview ---------- | |
| wv.setWebChromeClient(new webChromeClient()); | |
| wv.addJavascriptInterface(new JSInterface(), "JSOUT"); | |
| //----- add this to manifest under </activity> ----- | |
| <receiver android:name=".NotificationPausePlay" /> |
| function rc4(key, data) { | |
| var output = [], S = [], tmp, i, j = 0; | |
| for (i = 0; i < 256; i++) { | |
| S[i] = i; | |
| } | |
| for (i = 0; i < 256; i++) { | |
| j = (j + S[i] + key[i % key.length]) % 256; | |
| tmp = S[i]; | |
| S[i] = S[j]; | |
| S[j] = tmp; |
| // per https://docs.npmjs.com/misc/scripts, npm exposes a bunch of variables to | |
| // the environment prefixed with npm_config_*, npm_package_* and npm_lifecycle_*. | |
| // Here's a list of all variables exposed in my setup. | |
| npm_config_access= | |
| npm_config_allow_same_version= | |
| npm_config_also= | |
| npm_config_always_auth= | |
| npm_config_argv='{"remain":[],"cooked":["run","foo"],"original":["run","foo"]}' | |
| npm_config_auth_type=legacy |
'';!--"<XSS>=&{()}``\"
テスト文字列。まずはこの文字列を突っ込む。
<script>alert(1);</script>
単純なパターン
"><script>alert(1);</script>
単純なパターン2
<script src=http://nootropic.me/xss.js></script>