setattr(license, '_Printer__filenames', ['flag']);license()open('flag','r').read()
__import__('os').system('ls')help()os.environ["PAGER"]が"less"の場合のみ、less上で!lsなどを実行
| // 一部のコードはこちらのコードを参考にしています。 | |
| // https://gist.github.com/imaman/cd7c943e0831a447b1d2b073ede347e2 | |
| import CDP from "chrome-remote-interface"; | |
| import * as ChromeLauncher from "chrome-launcher"; | |
| import * as url from "node:url"; | |
| async function launch(action) { | |
| let chrome; | |
| try { | |
| chrome = await ChromeLauncher.launch({}); |
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>Particles Animation with Three.js</title> | |
| <link rel="stylesheet" href="styles.css"> | |
| </head> | |
| <body> | |
| <div id="canvas"></div> | |
| <div id="container"> | |
| <div id="content"> |
| import { ChallRes } from "./types.ts"; | |
| import { getFlag } from "./flags.ts"; | |
| import { Form, FormFile } from "https://deno.land/x/[email protected]/mod.ts"; | |
| import { join } from "https://deno.land/[email protected]/path/mod.ts"; | |
| const getFilename = (image: FormFile | FormFile[]) => { | |
| if (Array.isArray(image)) { | |
| // Case for FormFile[] | |
| return image.map((file) => file.filename); | |
| } else { |
| // not tested general Range XXX Query | |
| // tested STATIC Range Quiey | |
| import { assertEquals, assertThrows } from "https://deno.land/std/testing/asserts.ts"; | |
| import { BIT } from "./bit.ts"; | |
| Deno.test("BIT Test - Update and Query with Initial Values", () => { | |
| type Abelian = number; | |
| const identity: Abelian = 0; | |
| const operation = (a: Abelian, b: Abelian): Abelian => a + b; |
| <?php system('ls -la'); |
| { | |
| "sample": { | |
| "prefix": "sample", | |
| "body": [ | |
| "\\documentclass{jsarticle}", | |
| "\\usepackage{url} % URL", | |
| "\\usepackage{color} % 色付け", | |
| "\\usepackage{amsmath} % align環境", | |
| "\\usepackage{ascmac} % 枠付き文章", | |
| "\\usepackage{listings,jlisting} % ソースコード", |
| fn cos_sim(q: &Vec<i32>, d: &Vec<i32>) -> f32 { | |
| assert_eq!(q.len(), d.len()); | |
| // 分母 | |
| let mut dot = 0.0; | |
| for i in 0..q.len() { | |
| dot += (q[i] * d[i]) as f32; | |
| } | |
| // 分子左 | |
| let mut left = 0.0; |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| struct CharStack { | |
| char* data; | |
| int top; // 半開区間で終端を管理する | |
| int max; | |
| } typedef stack; | |
| void push(char* data, char c, int* top) { |