rustimg.com Open in urlscan Pro
109.122.198.10  Public Scan

URL: https://rustimg.com/
Submission Tags: phishingrod
Submission: On June 09 via api from DE — Scanned from FR

Form analysis 0 forms found in the DOM

Text Content

Illuminate\Database\QueryException: SQLSTATE[HY000] [2002] Connection refused (SQL: select count(*) as aggregate from `posts` where `post_live` = 1) in file /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 760

#0 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Database/Connection.php(899): Illuminate\Database\Connection->runQueryCallback()
#1 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Database/Connection.php(878): Illuminate\Database\Connection->tryAgainIfCausedByLostConnection()
#2 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Database/Connection.php(722): Illuminate\Database\Connection->handleQueryException()
#3 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Database/Connection.php(405): Illuminate\Database\Connection->run()
#4 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2655): Illuminate\Database\Connection->select()
#5 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2644): Illuminate\Database\Query\Builder->runSelect()
#6 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3180): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
#7 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2643): Illuminate\Database\Query\Builder->onceWithColumns()
#8 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2794): Illuminate\Database\Query\Builder->get()
#9 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2753): Illuminate\Database\Query\Builder->runPaginationCountQuery()
#10 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(891): Illuminate\Database\Query\Builder->getCountForPagination()
#11 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/app/Http/Controllers/PublicPostController.php(32): Illuminate\Database\Eloquent\Builder->paginate()
#12 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\Http\Controllers\PublicPostController->index()
#13 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\Routing\Controller->callAction()
#14 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Routing/Route.php(259): Illuminate\Routing\ControllerDispatcher->dispatch()
#15 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\Routing\Route->runController()
#16 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\Routing\Route->run()
#17 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Routing\Router->Illuminate\Routing\{closure}()
#18 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/app/Http/Middleware/CheckBanned.php(24): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#19 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\Http\Middleware\CheckBanned->handle()
#20 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#21 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Routing\Middleware\SubstituteBindings->handle()
#22 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#23 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
#24 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#25 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\View\Middleware\ShareErrorsFromSession->handle()
#26 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#27 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
#28 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle()
#29 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#30 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
#31 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#32 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\EncryptCookies->handle()
#33 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#34 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Routing/Router.php(797): Illuminate\Pipeline\Pipeline->then()
#35 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\Routing\Router->runRouteWithinStack()
#36 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\Routing\Router->runRoute()
#37 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Routing/Router.php(729): Illuminate\Routing\Router->dispatchToRoute()
#38 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\Routing\Router->dispatch()
#39 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
#40 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#41 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#42 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
#43 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#44 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#45 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
#46 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#47 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
#48 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#49 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
#50 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#51 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Fruitcake\Cors\HandleCors->handle()
#52 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#53 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Fideloper\Proxy\TrustProxies->handle()
#54 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#55 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\Pipeline\Pipeline->then()
#56 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/instantblog/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#57 /var/www/vhosts/5b9ed0d8a282.plesk01.ancelade.net/rustimg.com/index.php(55): Illuminate\Foundation\Http\Kernel->handle()
#58 {main}


 * Stack
 * Context
 * Share
   
   SHARE WITH FLARE
   
   Docs
    * Stack
    * Context
    * Debug
   
   Create Share

 * Docs

 * IGNITION SETTINGS
   
   Docs
   Editor
   SublimeTextMateEmacsMacVimPhpStormIdeaVS CodeVS Code InsidersVS Code RemoteVS
   Code Insiders RemoteVS CodiumAtomNovaNetBeansXdebug
   
   Theme
   auto
   Save settings
   
   Settings will be saved locally in ~/.ignition.json.

SQLSTATE[HY000] [2002] Connection refused (SQL: select count(*) as aggregate
from `posts` where `post_live` = 1)
Illuminate \ Database \ QueryException
PHP 8.2.69.48.0
SQLSTATE[HY000] [2002] Connection refused

select count(*) as aggregate from `posts` where `post_live` = 1



Expand vendor frames
 1. 12 vendor frames
 2. App \ Http \ Controllers \ PublicPostController : 32
    index
 3. 
 4. 6 vendor frames
 5. App \ Http \ Middleware \ CheckBanned : 24
    handle
 6. 38 vendor frames
 7.  / var / www / vhosts / 5b9ed0d8a282.plesk01.ancelade.net / rustimg.com / index.php : 55
    [top]

app / Http / Controllers / PublicPostController.php : 32

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

43

44

45

46

        if(Auth::check()){
            $authuser = Auth::user();
            if ($authuser->homepage == 1) {
                $following = auth()->user()->follows()->pluck('id');
                $posts = Post::whereIn('user_id', $following)
                    ->latest()
                    ->orWhere('user_id', $authuser->id)
                    ->wherePostLive(1)
                    ->paginate(30);
                return view('public.index', compact('posts'));
            }
        }

        $posts = Post::latest()
            ->wherePostLive(1)
            ->paginate(30);

        return view('public.index', compact('posts'));
    }

    //Show single post
    public function show(Post $post)
    {
        Post::find($post->id)->increment('counter');

        $nextid     = Post::where('id', '>', $post->id)->wherePostLive(1)->min('id');
        $previousid = Post::where('id', '<', $post->id)->wherePostLive(1)->max('id');

        if ($nextid) {
            $next = Post::find($nextid)->post_slug;

 * Request
   * Headers
   * Body
 * App
   * Routing
 * Context
   * Versions


REQUEST

https://rustimg.com/
GET

curl "https://rustimg.com/" \
   -X GET \
   -H 'accept-encoding: gzip, deflate, br' \
   -H 'sec-fetch-dest: document' \
   -H 'sec-fetch-user: ?1' \
   -H 'sec-fetch-mode: navigate' \
   -H 'sec-fetch-site: none' \
   -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' \
   -H 'accept-language: fr-FR,fr;q=0.9' \
   -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.106 Safari/537.36' \
   -H 'upgrade-insecure-requests: 1' \
   -H 'cache-control: no-cache' \
   -H 'pragma: no-cache' \
   -H 'connection: close' \
   -H 'x-accel-internal: /internal-nginx-static-location' \
   -H 'x-real-ip: 178.33.144.178' \
   -H 'host: rustimg.com';




HEADERS

accept-encoding

gzip, deflate, br


sec-fetch-dest

document


sec-fetch-user

?1


sec-fetch-mode

navigate


sec-fetch-site

none


accept

text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7


accept-language

fr-FR,fr;q=0.9


user-agent

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.106 Safari/537.36


upgrade-insecure-requests

1


cache-control

no-cache


pragma

no-cache


connection

close


x-accel-internal

/internal-nginx-static-location


x-real-ip

178.33.144.178


host

rustimg.com




BODY

[]




APP


ROUTING

Controller

App\Http\Controllers\PublicPostController@index


Middleware

 * web
   
   


CONTEXT


VERSIONS

Php Version

8.2.6


Laravel Version

9.48.0


Laravel Locale

en


Laravel Config Cachedfalse
App Debugtrue
App Env

local