g | x | w | all
Bytes Lang Time Link
nanI am kind of a language dev230721T175258ZSuperSto
nanVyxal220603T222559ZnaffetS
nanDorian201101T072302Zthe defa
nanPython220215T215953ZSeggan -
062Python220103T211852ZM Virts
nanPython220101T213809Zdingledo
nan220101T095101Zzoomlogo
nan211215T081310Zm90
nanFZs211211T220949Ztjjfvi
nan211207T124733Zovs
nan211207T030558ZConor O&
nanAaron211123T032100Zokie
nan211123T070142Zm90
nan211003T152259Zm90
nan210914T120513Zemanresu
nanPython210913T050022Zokie
nanPython 3210807T101419Zovs
nanPython 3210718T025544ZM Virts
nanPython 3210717T082438Zovs
nanPython 3210716T114800Zovs
nanPython 3210715T142522Zthe defa
nanPython 3210715T121301Zthe defa
nanZsh + coreutils210612T093322Zuser1004
nanPython 3210529T095054ZUnrelate
nanPython 3210524T134108ZEasyasPi
nanPython 3.7210217T100525ZDELETE_M
nanSuperPizz210212T160816ZCinaski
nanR201028T153545ZThe Fift
nanR201027T145744ZGiuseppe
nanDingus201026T215146ZEric Dum

I am kind of a language dev, Python

[c for c in [].__class__.mro()[1].__subclasses__() if "os." in str(c)][0].close.__globals__["write"](1,b"not a chance \n")

Classic pyjail escape. Of course, you could always use from __future__ import braces or raise Exception("not a chance "), but that's more boring IMO.

Try it online!

Vyxal, cracks emanresu A

`555`

Try it Online!

Infinite possibilities. Wrap any palindromic string that is at least 3 characters long in backticks.

Dorian, dotcomma

[49375, -1]

Of course, the cryptic response in the comments turned out to mean "no, it's not a string". I think it's a big problem with the answer if "it would become too easy" if you told me what IO format I must use.

I noticed that the code seems to ignore all the input except for the first number until it finds a negative number. Then I noticed that it subtracts something from 49375. I don't know how does the code work, though.

Try it online!

Python, cracks @Bgil Midol's answer

t%sb

Took be a minute to realize that this is a format and not a mod operation

Python, 62 bytes cracks @pxeger's answer

A generic escape from exec with no __builtins__:

Uses the class heirarchy to go from list to object, builds a dict of subclasses of 'object', finds BuiltinImporter and imports all of the builtins again.

module name doesn't matter, must be a valid module.

{x.__name__:x for x in [].__class__.__base__.__subclasses__()}['BuiltinImporter']().load_module('builtins').print('Hello world!')
csv

Attempt This Online! (yes, the code on ATO prints the wrong key)

Python, cracks @pxeger's answer


__hello__

Attempt This Online!

Coincidentally, import __hello__ is an easter egg that outputs the exact text Hello world!. As such, the first line of input doesn't really matter here; perhaps it was used as a red herring.

Cracks pxeger's python 3 answer

__builtins__['if'].stdout.write("Hello, World!\n")
sys

Attempt it Online!

Explanation

The code exec(s the first input, and exec('s second argument is the dictionary which contains all the variables / functions in the scope of exec(.

What I did was simply import sys and access the library using __builtins__['if'] and print to stdout.

JavaScript by tjjfvi

document.all.toString = ()=>"length", document.all

document.all is an object that is unique in several ways, including being falsy.

in uses toString, so the first part can be made true by changing toString.

FZs, JavaScript

o=Object.defineProperty;o.a=window;o.b="x";o.c=o;o.get=x=>i++==0?2:i;i=0;o

This essentially encodes

i = 0
Object.defineProperty(window, "x", { get: () => i++ == 0 ? 2 : i })

Once run, x will return 2 the first call, 2 the second, then 3, 4, 5, etc. This means that x === x && x !== x, as 2 === 2 && 3 !== 4.

JavaScript by tjjfvi

The flag is: ()* (Or ()? / (){0})

Try it online!

This splits between the two x's (it matches the empty string) without actually capturing anything with the group. The return value of split includes capturing groups, which results in ["x", undefined, "x"]. This gets reduced to "xundefinedx".

JavaScript by tjjfvi

Input:

((x))

I'm not 100% why it works, but it seems that JavaScript insists that all capture groups appear in the split. Because the same string exists twice, it is captured twice. This is consistent with, e.g., input = (((x))), which lists each x three times. Furthermore, what occurs before each string seems to also be preserved:

> "Hello".split(/(He)(llo)/)
[ '', 'He', 'llo', '' ]
> "Why Hello There".split(/(He)(llo)/)
[ 'Why ', 'He', 'llo', ' There' ]

In any case, either behavior is enough to cause a discrepancy between the length we might intuitively expect (2) and the actual result.

Aaron, Vyxal (Not intended)

aka this solution is not correct.

.dI:⅛kF*×u⅛Ė.SṪḢ42f÷₍+*Π¾J∑Cøṙ

input:

1.2
EEEEEEEEEEEEEEEEEEEEEEEE

1.2 Make program have exception and the top of the stack is the flag.

1.2 can be any float.

Try it Online!

JavaScript (Node.js) by emanresu A

[Math.PI, 2n]

Try it online!

JSON.stringify throws a TypeError if it finds a BigInt, thus executing catch(e){return v[0]===Math.PI}, and then it is simple to make that true.

Python 3 by pxeger

assert, int

Attempt This Online!

An assert statement can take two expressions; if the first expression evaluates to a true value, the second expression is not evaluated.

JavaScript (V8) by EnderShadow8

function a(){this.i=0;this.toString=()=>this.i++?'is':'constructor'}
f(new a())

Try it online!

A bit of a mess. This uses the fact that Object.is() called with no parameters returns true.

Python, pxeger

Input __debug__ and magic!

from keyword import*
x=input()
if~-iskeyword(x)and x.isidentifier():
 exec(x,d:={"__builtins__":{}})
 try:exec(f"del {x}",d)
 except:print(1)

Attempt This Online!

The condition are not keyword and is made of a-z,0-9 and also can't be del while not being a builtin function => builtin constant?

Python 3, pxeger

f("(lambda **k:k)(a='b')", [12, 14])

Attempt This Online!

The challenge consists of two parts, first to create a dictionary without } and any builtins, and to get code compiled for exec to return a value.
The dictionary can be created using named function arguments.

The instructions in the bytecode at the indices specified in the integer list are set to NOP (9). The expression compiles compiles to the following bytecode, if we remove (convert to NOP) 12 and 14, the dictionary is returned.

 0 LOAD_CONST               0 (<code object <lambda> at 0x10f79ad40, file "<dis>", line 1>)
 2 LOAD_CONST               1 ('<lambda>')
 4 MAKE_FUNCTION            0
 6 LOAD_CONST               2 ('b')
 8 LOAD_CONST               3 (('a',))
10 CALL_FUNCTION_KW         1
12 POP_TOP                  0
14 LOAD_CONST               4 (None)
16 RETURN_VALUE

Python 3, pxeger - (Incorrect crack)

 f=open(1,'w')
 f.write('hah')
 f.close()

Attempt This Online!

Python 3, pxeger

With direct memory access, nothing is really immutable. Replaces the string in the constant table of the lambda function.

import ctypes

wow = f.__code__.co_consts[2].co_consts[1]
hah = 'hah'
ctypes.memmove(id(wow), id(hah), hah.__sizeof__())

Attempt This Online!

Python 3, pxeger

e%e#d¹F¹S
z(1,42)
A;B;C;D;E;F;G;H;I;J;K;L;M;N;O;P;Q;R;S
T;U;V;W;X;Y;Z;a;b;c;d;f;g;h;abs;j;id

¹ represents a byte with value 1

Attempt This Online!

The input first needs to pass the exec call. This checks the syntax and creates tables of constants and names:

co_consts = (1, 42, None)
co_names = ('e', 'z', 'A', ..., 'id')

Then all the bytecode is replaced with our input, the relevant part is the first line:

e%   101 37   LOAD_NAME   37 (=id)
e#   101 35   LOAD_NAME   35 (=abs)
d¹   100  1   LOAD_CONST   1 (=42)
F¹    70  1   PRINT_EXPR   1 (argument is ignored)
S     83      RETURN_VALUE   (exits the execution)

without any comments and unprintables:

dAdAFFS(71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42)

Attempt This Online!

The first 8 bytes are actually executed:

dA   100 65   LOAD_CONST  65 (=42)
dA   100 65   LOAD_CONST  65 (=42)
FF    70 70   PRINT_EXPR  70 (argument is ignored)
S(    83 40   RETURN_VALUE   (returns 42 and exits the execution)

Python 3, pxeger

Object-oriented programming is always the best solution.

class c:
 def f():
  from os import system
  system('echo ryjtufbohqszxgg')
 f()

Our code is being executed in an environment where trying to access any global variable (including built-in functions) throws an error. However, import still functions correctly (I don't really understand this part of Python, but I suppose it's because __import__ technically isn't being removed; it's just no longer accessible by the normal means). But just importing a necessary function is not enough: once imported, it will become a global variable, and these can't be accessed!
And the following fix doesn't work:

def f():
 from os import system
 system('echo ryjtufbohqszxgg')
f()

because once f is declared, it also becomes an inaccessible global variable! Fortunately, classes are executed as normal code when declared, and variables declared inside them are not global (and therefore are accessible).

Attempt This Online!

Python 3, pxeger

[].__class__.__base__.__subclasses__()[81].acquire.__globals__['__builtins__']['print']('uslcgtutmuexbwb')

Attempt This Online!

Our code is being executed in an environment where trying to access any variable throws an error (and there are no built-in functions). But the list of subclasses of object is very large, and includes multiple classes that somehow reference the original builtins object... The number 81 may stop working in other Python versions (but it can be replaced by something different, and it works in both Python 3.8 and 3.9)

Zsh + coreutils, pxeger's post, cracked after being safe.

Password.

${(#)$((){<<<$#} $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $)}${(#)$((){<<<$#} $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $)}${(#)$((){<<<$#} $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $)}${(#)$((){<<<$#} $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $)} ${(#)$((){<<<$#} $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $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 $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $)}${(#)$((){<<<$#} $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $)}

Try it online!

What original program does

How I cracked

Python 3, pxeger

(_ for _ in()).throw(E())

Yep. Apparently generators just have a throw method. Found by searching SO for "raise exception from python lambda".

Python 3, breaks pxeger's challenge

__builtins__
SyntaxError
__build_class__

Try it online!

The first line loads the dictionary of Python's builtins.

Then, we assign __build_class__ to SyntaxError. Why? Because __build_class__ is called like so

__build_class__(<class_body>, "class_name")

While SyntaxError is called like so

SyntaxError("msg", (filename, lineno, offset, line))

When Python tries to call SyntaxError as if it were __build_class__, it tries to index the class name as a tuple.

Python 3.7, ovs's answer

@print
@int.__invert__
@len
@ascii
@ascii
@ascii
@ascii
@ascii
@ascii
@ascii
@ascii
@ascii
@ascii
@str.lstrip
@min
@ascii
class a:
 pass

Try it online!

I used a brute force program to find the solution, although in the end it ends up being quite nice: Try it online!

Initially I found one with __sizeof__, but it doesn't work on TIO (being implementation-specific).

I had to made quite a few tweaks for it to fork (disable open and id, as the former will read from stdin with list(open(1)) or something similar)

It's also possible to get import inspect and quite a few other modules, but I didn't consider that possibility.

In retrospect, repr would work as well, but ascii comes before repr in my generator program.

SuperPizz, BrainF***

Password: ej`aH

Try it online!

Python script used

R, Paul

data.frame(a = 1, b = 0/0)

Try it online!

R, Robin Ryder

function(x,y,z){if(length(ls(1))>1|length(ls())!=3)return("S");LETTERS[lengths(lapply(y,intToUtf8(x),z))*lengths(lapply(y,intToUtf8(x+32),z))]}

Try it online!

The password is pretty insecure: 94,(numeric vector of length 1),(numeric vector of length 6). In particular, 94,1,1:6 was what I used.

The first thing I did was note that the lengths have to multiply to 18, so we need to generate two lists such that the lengths are equal to 1,18,2,9,or 3,6.

Next, noting the intToUtf8(x) and intToUtf8(x+32) I found all pairs of functions that satisfy that condition with this script. I safely ruled out nrow and ncol since they would generate the same values, and the lengths must be distinct.

After that it was a matter of just trying things out; lapply always returns a list with length equal to the length of its first argument, so y had to be of length 1. Luckily, R recycles, so lapply(1,"^",1:6)==list(1^(1:6)), which has lengths equal to 6.

Finally, ~, the formula builder is very odd, x ~ y is a formula with length 3, with three elements, '~'(), x(), and y(), so lapply(1,"~",1:6 is the same as 1 ~ 1:6 which is also length 3.

Dingus, Ruby and Dingus, Ruby

One password for both Ruby challenges by Dingus is:

G=->*x{i=0;i+=1 while x[0][i]!~x[1];x[0][i]};Q=method G[methods,/^[o-q]ri/];C=method G[q=Q[],/[o-r]ut[b-d]/];D=method G[q,/^de/];P=G[q,/^[o-r]\z/];D[P]{|x|};C[34];C[34];C[34];C[10]

Try it online! & Try it online!

FORTRAN like code:

GREP = lambda do |l,r|
  i=0
  while l[i]!~r do
    i+=1
  end
  l[i]
end
PRIVATE_METHODs=method GREP[methods,/^[o-q]ri/]
PUTC=method GREP[PRIVATE_METHODs[],/[o-r]ut[b-d]/]
DEFINE_METHOD=method GREP[PRIVATE_METHODs[],/^de/]
P=GREP[PRIVATE_METHODs[],/^[o-r]\z/]
DEFINE_METHOD[P]{|x|}
PUTC[34]
PUTC[34]
PUTC[34]
PUTC[10]

Try it online!