Sobes.tech

$filename = $_GET['file']; $content = file_get_contents("/var/www/files/" . $filename); echo $content;

Senior
144

Tell us about your work experience, technology stack, and projects.

Middle+
140

Find the vulnerability in the code that reads data from a GET parameter

Middle+
139

class Cache { private static $data = []; public function set($key, $value) { self::$data[$key] = $value; } public function get($key) { return self::$data[$key] ?? null; } } $cacheA = new Cache(); $cacheA->set('user', 'Alice'); $cacheB = new Cache(); echo $cacheB->get('user'); // ?

Senior
139

What will this code output when using cache in Laravel? (question about two different cache instances)

Middle+
137

How is the facade pattern in Laravel implemented, which appears as static calls but works as regular objects?

Middle+
127

How would you organize work and session storage in horizontal scaling?

Senior
122

What is the name of the method chaining pattern in Laravel (User::where()->orderBy()->get()) and what do the methods inside it technically do to make the chain work?

Middle+
118

How would you implement processing large volumes of tasks (millions in queue) without hitting memory and execution time limits?

Senior
118

Find the error in the code and the vulnerability (code with SQL concatenation via QueryBuilder)

Middle+
116