Advertisement
ecchiexploit

Mass laravel env scanner

Sep 19th, 2020
473
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 17.17 KB | None | 0 0
  1. <?php
  2. define("hijau","\e[32m");
  3. define("merah","\e[31m");
  4.     class Laravel_Mass{
  5.         public $url;
  6.         public function save($saveas,$name){
  7.             $result = fopen($name, "a+");
  8.             fwrite($result,"$saveas\n");
  9.             fclose($result);
  10.         }
  11.         public function CeklaraveENV(){
  12.             $list = array('/__tests__/test-become/.env',
  13.    '/_static/.env',
  14.    '/.c9/metadata/environment/.env',
  15.    '/.docker/.env',
  16.    '/.docker/laravel/app/.env',
  17.    '/.env',
  18.    '/.env.backup',
  19.    '/.env.dev',
  20.    '/.env.development.local',
  21.    '/.env.docker.dev',
  22.    '/.env.example',
  23.    '/.env.local',
  24.    '/.env.php',
  25.    '/.env.prod',    
  26.    '/.env.production.local',
  27.    '/.env.sample.php',
  28.    '/.env.save',
  29.    '/.env.stage',
  30.    '/.env.test',
  31.    '/.env.test.local',
  32.    '/.env~',
  33.    '/.gitlab-ci/.env',
  34.    '/.vscode/.env',
  35.    '/3-sequelize/final/.env',
  36.    '/07-accessing-data/begin/vue-heroes/.env',
  37.    '/07-accessing-data/end/vue-heroes/.env',
  38.    '/08-routing/begin/vue-heroes/.env',
  39.    '/08-routing/end/vue-heroes/.env',
  40.    '/09-managing-state/begin/vue-heroes/.env',
  41.    '/09-managing-state/end/vue-heroes/.env',
  42.    '/31_structure_tests/.env',
  43.    '/acme_challenges/.env',
  44.    '/acme-challenge/.env',
  45.    '/acme/.env',
  46.    '/actions-server/.env',
  47.    '/admin-app/.env',
  48.    '/admin/.env',
  49.    '/adminer/.env',
  50.    '/administrator/.env',
  51.    '/agora/.env',
  52.    '/alpha/.env',
  53.    '/anaconda/.env',
  54.    '/api/.env',
  55.    '/api/src/.env',
  56.    '/app_dir/.env',
  57.    '/app_nginx_static_path/.env',
  58.    '/app-order-client/.env',
  59.    '/app/.env',
  60.    '/app/client/.env',
  61.    '/app/code/community/Nosto/Tagging/.env',
  62.    '/app/config/.env',
  63.    '/app/config/dev/.env',
  64.    '/app/frontend/.env',
  65.    '/app1-static/.env',
  66.    '/app2-static/.env',
  67.    '/apps/.env',
  68.    '/apps/client/.env',
  69.    '/Archipel/.env',
  70.    '/asset_img/.env',
  71.    '/assets/.env',
  72.    '/Assignment3/.env',
  73.    '/Assignment4/.env',
  74.    '/audio/.env',
  75.    '/awstats/.env',
  76.    '/babel-plugin-dotenv/test/fixtures/as-alias/.env',
  77.    '/babel-plugin-dotenv/test/fixtures/default/.env',
  78.    '/babel-plugin-dotenv/test/fixtures/dev-env/.env',
  79.    '/babel-plugin-dotenv/test/fixtures/empty-values/.env',
  80.    '/babel-plugin-dotenv/test/fixtures/filename/.env',
  81.    '/babel-plugin-dotenv/test/fixtures/override-value/.env',
  82.    '/babel-plugin-dotenv/test/fixtures/prod-env/.env',
  83.    '/back-end/app/.env',
  84.    '/back/.env',
  85.    '/backend/.env',
  86.    '/backend/src/.env',
  87.    '/backendfinaltest/.env',
  88.    '/backup/.env',
  89.    '/base_dir/.env',
  90.    '/basic-network/.env',
  91.    '/bgoldd/.env',
  92.    '/bitcoind/.env',
  93.    '/blankon/.env',
  94.    '/blob/.env',
  95.    '/blog/.env',
  96.    '/blue/.env',
  97.    '/bookchain-client/.env',
  98.    '/bootstrap/.env',
  99.    '/boxes/oracle-vagrant-boxes/ContainerRegistry/.env',
  100.    '/boxes/oracle-vagrant-boxes/Kubernetes/.env',
  101.    '/boxes/oracle-vagrant-boxes/OLCNE/.env',
  102.    '/bucoffea/.env',
  103.    '/build/.env',
  104.    '/cardea/backend/.env',
  105.    '/cdw-backend/.env',
  106.    '/cgi-bin/.env',
  107.    '/ch2-mytodo/.env',
  108.    '/ch6-mytodo/.env',
  109.    '/ch6a-mytodo/.env',
  110.    '/ch7-mytodo/.env',
  111.    '/ch7a-mytodo/.env',
  112.    '/ch8-mytodo/.env',
  113.    '/ch8a-mytodo/.env',
  114.    '/ch8b-mytodo/.env',
  115.    '/Chai/.env',
  116.    '/challenge/.env',
  117.    '/challenges/.env',
  118.    '/charts/liveObjects/.env',
  119.    '/chat-client/.env',
  120.    '/chiminey/.env',
  121.    '/client-app/.env',
  122.    '/client/.env',
  123.    '/client/mutual-fund-app/.env',
  124.    '/client/src/.env',
  125.    '/ClientApp/.env',
  126.    '/clld_dir/.env',
  127.    '/cmd/testdata/expected/dot_env/.env',
  128.    '/code/api/.env',
  129.    '/code/web/.env',
  130.    '/CodeGolf.Web/ClientApp/.env',
  131.    '/codenames-frontend/.env',
  132.    '/collab-connect-web-application/server/.env',
  133.    '/collected_static/.env',
  134.    '/community/.env',
  135.    '/conf/.env',
  136.    '/config/.env',
  137.    '/ContainerRegistry/.env',
  138.    '/content/.env',
  139.    '/core/.env',
  140.    '/core/app/.env',
  141.    '/core/Datavase/.env',
  142.    '/core/persistence/.env',
  143.    '/core/src/main/resources/org/jobrunr/dashboard/frontend/.env',
  144.    '/counterblockd/.env',
  145.    '/counterwallet/.env',
  146.    '/cp/.env',
  147.    '/cron/.env',
  148.    '/cronlab/.env',
  149.    '/cryo_project/.env',
  150.    '/css/.env',
  151.    '/custom/.env',
  152.    '/d/.env',
  153.    '/data/.env',
  154.    '/database/.env',
  155.    '/dataset1/.env',
  156.    '/dataset2/.env',
  157.    '/default/.env',
  158.    '/delivery/.env',
  159.    '/demo-app/.env',
  160.    '/demo/.env',
  161.    '/deploy/.env',
  162.    '/developerslv/.env',
  163.    '/development/.env',
  164.    '/directories/.env',
  165.    '/dist/.env',
  166.    '/django_project_path/.env',
  167.    '/django-blog/.env',
  168.    '/django/.env',
  169.    '/doc/.env',
  170.    '/docker-compose/platform/.env',
  171.    '/docker-elk/.env',
  172.    '/docker-network-healthcheck/.env',
  173.    '/docker-node-mongo-redis/.env',
  174.    '/docker/.env',
  175.    '/docker/app/.env',
  176.    '/docker/compose/withMongo/.env',
  177.    '/docker/compose/withPostgres/.env',
  178.    '/docker/database/.env',
  179.    '/docker/db/.env',
  180.    '/docker/examples/compose/.env',
  181.    '/docker/postgres/.env',
  182.    '/docker/webdav/.env',
  183.    '/docs/.env',
  184.    '/dodoswap-client/.env',
  185.    '/dotfiles/.env',
  186.    '/download/.env',
  187.    '/downloads/.env',
  188.    '/e2e/.env',
  189.    '/en/.env',
  190.    '/engine/.env',
  191.    '/env/.env',
  192.    '/env/dockers/mariadb-test/.env',
  193.    '/env/dockers/php-apache/.env',
  194.    '/env/example/.env',
  195.    '/env/template/.env',
  196.    '/environments/local/.env',
  197.    '/environments/production/.env',
  198.    '/error/.env',
  199.    '/errors/.env',
  200.    '/example/.env',
  201.    '/example02-golang-package/import-underscore/.env',
  202.    '/example27-how-to-load-env/sample01/.env',
  203.    '/example27-how-to-load-env/sample02/.env',
  204.    '/examples/.env',
  205.    '/examples/01-simple-model/.env',
  206.    '/examples/02-complex-example/.env',
  207.    '/examples/03-one-to-many-relationship/.env',
  208.    '/examples/04-many-to-many-relationship/.env',
  209.    '/examples/05-migrations/.env',
  210.    '/examples/06-base-service/.env',
  211.    '/examples/07-feature-flags/.env',
  212.    '/examples/08-performance/.env',
  213.    '/examples/09-production/.env',
  214.    '/examples/10-subscriptions/.env',
  215.    '/examples/11-transactions/.env',
  216.    '/examples/drupal-separate-services/.env',
  217.    '/examples/react-dashboard/backend/.env',
  218.    '/examples/sdl-first/.env',
  219.    '/examples/sdl-first/prisma/.env',
  220.    '/examples/vue-dashboard/backend/.env',
  221.    '/examples/web/.env',
  222.    '/examples/with-cookie-auth-fauna/.env',
  223.    '/examples/with-dotenv/.env',
  224.    '/examples/with-firebase-authentication-serverless/.env',
  225.    '/examples/with-react-relay-network-modern/.env',
  226.    '/examples/with-relay-modern/.env',
  227.    '/examples/with-universal-configuration-build-time/.env',
  228.    '/exapi/.env',
  229.    '/Exercise.Frontend/.env',
  230.    '/Exercise.Frontend/train/.env',
  231.    '/export/.env',
  232.    '/fastlane/.env',
  233.    '/favicons/.env',
  234.    '/favs/.env',
  235.    '/FE/huey/.env',
  236.    '/fedex/.env',
  237.    '/fhir-api/.env',
  238.    '/files/.env',
  239.    '/fileserver/.env',
  240.    '/films/.env',
  241.    '/Final_Project/Airflow_Dag/.env',
  242.    '/Final_Project/kafka_twitter/.env',
  243.    '/Final_Project/StartingFile/.env',
  244.    '/finalVersion/lcomernbootcamp/projbackend/.env',
  245.    '/FIRST_CONFIG/.env',
  246.    '/first-network/.env',
  247.    '/fisdom/fisdom/.env',
  248.    '/fixtures/blocks/.env',
  249.    '/fixtures/fiber-debugger/.env',
  250.    '/fixtures/flight/.env',
  251.    '/fixtures/kitchensink/.env',
  252.    '/flask_test_uploads/.env',
  253.    '/fm/.env',
  254.    '/font-icons/.env',
  255.    '/fonts/.env',
  256.    '/front-app/.env',
  257.    '/front-empathy/.env',
  258.    '/front-end/.env',
  259.    '/front/.env',
  260.    '/front/src/.env',
  261.    '/frontend/.env',
  262.    '/frontend/momentum-fe/.env',
  263.    '/frontend/react/.env',
  264.    '/frontend/vue/.env',
  265.    '/frontendfinaltest/.env',
  266.    '/ftp/.env',
  267.    '/ftpmaster/.env',
  268.    '/gists/cache/gists/laravel/gists/pusher/github-connect/.env',
  269.    '/grems-api/.env',
  270.    '/grems-frontend/.env',
  271.    '/Hash/.env',
  272.    '/hasura/.env',
  273.    '/Helmetjs/.env',
  274.    '/hgs-static/.env',
  275.    '/higlass-website/.env',
  276.    '/home/.env',
  277.    '/horde/.env',
  278.    '/hotpot-app-frontend/.env',
  279.    '/htdocs/.env',
  280.    '/html/.env',
  281.    '/http/.env',
  282.    '/httpboot/.env',
  283.    '/HUNIV_migration/.env',
  284.    '/icon/.env',
  285.    '/icons/.env',
  286.    '/ikiwiki/.env',
  287.    '/image_data/.env',
  288.    '/Imagebord/.env',
  289.    '/images/.env',
  290.    '/img/.env',
  291.    '/install/.env',
  292.    '/InstantCV/server/.env',
  293.    '/items/.env',
  294.    '/javascript/.env',
  295.    '/js-plugin/.env',
  296.    '/js/.env',
  297.    '/jsrelay/.env',
  298.    '/jupyter/.env',
  299.    '/khanlinks/.env',
  300.    '/kibana/.env',
  301.    '/kodenames-server/.env',
  302.    '/kolab-syncroton/.env',
  303.    '/Kubernetes/.env',
  304.    '/lab/.env',
  305.    '/laravel/.env',
  306.    '/latest/.env',
  307.    '/layout/.env',
  308.    '/lcomernbootcamp/projbackend/.env',
  309.    '/leafer-app/.env',
  310.    '/ledger_sync/.env',
  311.    '/legacy/tests/9.1.1/legacy/tests/9.2.0/legal/.env',
  312.    '/lemonldap-ng-doc/.env',
  313.    '/lemonldap-ng-fr-doc/.env',
  314.    '/letsencrypt/.env',
  315.    '/lib/.env',
  316.    '/Library/.env',
  317.    '/libs/.env',
  318.    '/linux/.env',
  319.    '/local/.env',
  320.    '/log/.env',
  321.    '/logging/.env',
  322.    '/login/.env',
  323.    '/mail/.env',
  324.    '/mailinabox/.env',
  325.    '/mailman/.env',
  326.    '/main_user/.env',
  327.    '/main/.env',
  328.    '/manual/.env',
  329.    '/master/.env',
  330.    '/media/.env',
  331.    '/memcached/.env',
  332.    '/mentorg-lava-docker/.env',
  333.    '/micro-app-react-communication/.env',
  334.    '/micro-app-react/.env',
  335.    '/mindsweeper/gui/.env',
  336.    '/minified/.env',
  337.    '/misc/.env',
  338.    '/Modix/ClientApp/.env',
  339.    '/monerod/.env',
  340.    '/mongodb/config/dev/.env',
  341.    '/monitoring/compose/.env',
  342.    '/moodledata/.env',
  343.    '/msks/.env',
  344.    '/munki_repo/.env',
  345.    '/music/.env',
  346.    '/MyRentals.Web/ClientApp/.env',
  347.    '/name/.env',
  348.    '/new-js/.env',
  349.    '/news-app/.env',
  350.    '/nginx-server/.env',
  351.    '/nginx/.env',
  352.    '/niffler-frontend/.env',
  353.    '/node_modules/.env',
  354.    '/Nodejs-Projects/play-ground/login/.env',
  355.    '/Nodejs-Projects/play-ground/ManageUserRoles/.env',
  356.    '/noVNC/.env',
  357.    '/Nuke.App.Ui/.env',
  358.    '/oldsanta/.env',
  359.    '/ops/vagrant/.env',
  360.    '/option/.env',
  361.    '/orientdb-client/.env',
  362.    '/outputs/.env',
  363.    '/owncloud/.env',
  364.    '/packages/api/.env',
  365.    '/packages/app/.env',
  366.    '/packages/client/.env',
  367.    '/packages/frontend/.env',
  368.    '/packages/plugin-analytics/src/fixtures/analytics-ga-key/.env',
  369.    '/packages/plugin-qiankun/examples/app1/.env',
  370.    '/packages/plugin-qiankun/examples/app2/.env',
  371.    '/packages/plugin-qiankun/examples/app3/.env',
  372.    '/packages/plugin-qiankun/examples/master/.env',
  373.    '/packages/react-scripts/fixtures/kitchensink/template/.env',
  374.    '/packages/styled-ui-docs/.env',
  375.    '/packages/web/.env',
  376.    '/packed/.env',
  377.    '/page-editor/.env',
  378.    '/parity/.env',
  379.    '/Passportjs/.env',
  380.    '/patchwork/.env',
  381.    '/path/.env',
  382.    '/pfbe/.env',
  383.    '/pictures/.env',
  384.    '/playground/.env',
  385.    '/plugin_static/.env',
  386.    '/post-deployment/.vscode/.env',
  387.    '/postfixadmin/.env',
  388.    '/price_hawk_client/.env',
  389.    '/prisma/.env',
  390.    '/private/.env',
  391.    '/processor/.env',
  392.    '/prod/.env',
  393.    '/projbackend/.env',
  394.    '/project_root/.env',
  395.    '/psnlink/.env',
  396.    '/pt2/countries/src/.env',
  397.    '/pt8/library-backend-gql/.env',
  398.    '/pub/.env',
  399.    '/public_html/.env',
  400.    '/public_root/.env',
  401.    '/public/.env',
  402.    '/question2/.env',
  403.    '/qv-frontend/.env',
  404.    '/rabbitmq-cluster/.env',
  405.    '/rails-api/react-app/.env',
  406.    '/rasax/.env',
  407.    '/react_todo/.env',
  408.    '/redmine/.env',
  409.    '/repo/.env',
  410.    '/repos/.env',
  411.    '/repository/.env',
  412.    '/resources/.env',
  413.    '/resources/docker/.env',
  414.    '/resources/docker/mysql/.env',
  415.    '/resources/docker/phpmyadmin/.env',
  416.    '/resources/docker/rabbitmq/.env',
  417.    '/resources/docker/rediscommander/.env',
  418.    '/resourcesync/.env',
  419.    '/rest/.env',
  420.    '/restapi/.env',
  421.    '/results/.env',
  422.    '/robots/.env',
  423.    '/root/.env',
  424.    '/rosterBack/.env',
  425.    '/roundcube/.env',
  426.    '/roundcubemail/.env',
  427.    '/routes/.env',
  428.    '/run/.env',
  429.    '/rust-backend/.env',
  430.    '/rust-backend/dao/.env',
  431.    '/s-with-me-front/.env',
  432.    '/saas/.env',
  433.    '/samples/chatroom/chatroom-spa/.env',
  434.    '/samples/docker/deploymentscripts/.env',
  435.    '/script/.env',
  436.    '/scripts/.env',
  437.    '/scripts/fvt/.env',
  438.    '/selfish-darling-backend/.env',
  439.    '/Serve_time_server/.env',
  440.    '/serve-browserbench/.env',
  441.    '/Server_with_db/.env',
  442.    '/server/.env',
  443.    '/server/config/.env',
  444.    '/server/laravel/.env',
  445.    '/server/src/persistence/.env',
  446.    '/services/adminer/.env',
  447.    '/services/deployment-agent/.env',
  448.    '/services/documents/.env',
  449.    '/services/graylog/.env',
  450.    '/services/jaeger/.env',
  451.    '/services/minio/.env',
  452.    '/services/monitoring/.env',
  453.    '/services/portainer/.env',
  454.    '/services/redis-commander/.env',
  455.    '/services/registry/.env',
  456.    '/services/simcore/.env',
  457.    '/services/traefik/.env',
  458.    '/sessions/.env',
  459.    '/shared/.env',
  460.    '/shibboleth/.env',
  461.    '/shop/.env',
  462.    '/Simple_server/.env',
  463.    '/site-library/.env',
  464.    '/site/.env',
  465.    '/sitemaps/.env',
  466.    '/sites/.env',
  467.    '/sitestatic/.env',
  468.    '/Socketio/.env',
  469.    '/sources/.env',
  470.    '/Sources/API/.env',
  471.    '/spearmint/.env',
  472.    '/spikes/config-material-app/.env',
  473.    '/SpotiApps/.env',
  474.    '/src/__tests__/__fixtures__/instanceWithDependentSteps/.env',
  475.    '/src/__tests__/__fixtures__/typeScriptIntegrationProject/.env',
  476.    '/src/__tests__/__fixtures__/typeScriptProject/.env',
  477.    '/src/__tests__/__fixtures__/typeScriptVisualizeProject/.env',
  478.    '/src/.env',
  479.    '/src/add-auth/express/.env',
  480.    '/src/assembly/.env',
  481.    '/src/character-service/.env',
  482.    '/src/client/mobile/.env',
  483.    '/src/core/tests/dotenv-files/.env',
  484.    '/src/gameprovider-service/.env',
  485.    '/src/main/front-end/.env',
  486.    '/src/main/resources/archetype-resources/__rootArtifactId__-acceptance-test/src/test/resources/app-launcher-tile/.env',
  487.    '/src/renderer/.env',
  488.    '/srv6_controller/controller/.env',
  489.    '/srv6_controller/examples/.env',
  490.    '/srv6_controller/node-manager/.env',
  491.    '/st-js-be-2020-movies-two/.env',
  492.    '/stackato-pkg/.env',
  493.    '/static_prod/.env',
  494.    '/static_root/.env',
  495.    '/static_user/.env',
  496.    '/static-collected/.env',
  497.    '/static-html/.env',
  498.    '/static-root/.env',
  499.    '/static/.env',
  500.    '/staticfiles/.env',
  501.    '/stats/.env',
  502.    '/storage/.env',
  503.    '/style/.env',
  504.    '/styles/.env',
  505.    '/stylesheets/.env',
  506.    '/symfony/.env',
  507.    '/system-config/.env',
  508.    '/system/.env',
  509.    '/target/.env',
  510.    '/temanr9/.env',
  511.    '/temanr10/.env',
  512.    '/temp/.env',
  513.    '/template/.env',
  514.    '/templates/.env',
  515.    '/test-network/.env',
  516.    '/test-network/addOrg3/.env',
  517.    '/test/.env',
  518.    '/test/aries-js-worker/fixtures/.env',
  519.    '/test/bdd/fixtures/adapter-rest/.env',
  520.    '/test/bdd/fixtures/agent-rest/.env',
  521.    '/test/bdd/fixtures/couchdb/.env',
  522.    '/test/bdd/fixtures/demo/.env',
  523.    '/test/bdd/fixtures/demo/openapi/.env',
  524.    '/test/bdd/fixtures/did-method-rest/.env',
  525.    '/test/bdd/fixtures/did-rest/.env',
  526.    '/test/bdd/fixtures/edv-rest/.env',
  527.    '/test/bdd/fixtures/openapi-demo/.env',
  528.    '/test/bdd/fixtures/sidetree-mock/.env',
  529.    '/test/bdd/fixtures/universalresolver/.env',
  530.    '/test/bdd/fixtures/vc-rest/.env',
  531.    '/test/fixtures/.env',
  532.    '/test/fixtures/app_types/node/.env',
  533.    '/test/fixtures/app_types/rails/.env',
  534.    '/test/fixtures/node_path/.env',
  535.    '/test/integration/env-config/app/.env',
  536.    '/testfiles/.env',
  537.    '/testing/docker/.env',
  538.    '/tests/.env',
  539.    '/Tests/Application/.env',
  540.    '/tests/default_settings/v7.0/.env',
  541.    '/tests/default_settings/v8.0/.env',
  542.    '/tests/default_settings/v9.0/.env',
  543.    '/tests/default_settings/v10.0/.env',
  544.    '/tests/default_settings/v11.0/.env',
  545.    '/tests/default_settings/v12.0/.env',
  546.    '/tests/default_settings/v13.0/.env',
  547.    '/tests/drupal-test/.env',
  548.    '/tests/Integration/Environment/.env',
  549.    '/tests/todo-react/.env',
  550.    '/testwork_json/.env',
  551.    '/theme_static/.env',
  552.    '/theme/.env',
  553.    '/thumb/.env',
  554.    '/thumbs/.env',
  555.    '/tiedostot/.env',
  556.    '/tmp/.env',
  557.    '/tools/.env',
  558.    '/Travel_form/.env',
  559.    '/ts/prime/.env',
  560.    '/ubuntu/.env',
  561.    '/ui/.env',
  562.    '/unixtime/.env',
  563.    '/unsplash-downloader/.env',
  564.    '/upfiles/.env',
  565.    '/upload/.env',
  566.    '/uploads/.env',
  567.    '/urlmem-app/.env',
  568.    '/User_info/.env',
  569.    '/v1/.env',
  570.    '/v2/.env',
  571.    '/var/backup/.env',
  572.    '/vendor/.env',
  573.    '/vendor/github.com/gobuffalo/envy/.env',
  574.    '/vendor/github.com/subosito/gotenv/.env',
  575.    '/videos/.env',
  576.    '/vm-docker-compose/.env',
  577.    '/vod_installer/.env',
  578.    '/vue_CRM/.env',
  579.    '/vue-end/vue-til/.env',
  580.    '/vue/vuecli/.env',
  581.    '/web-dist/.env',
  582.    '/web/.env',
  583.    '/Web/siteMariage/.env',
  584.    '/webroot_path/.env',
  585.    '/websocket/.env',
  586.    '/webstatic/.env',
  587.    '/webui/.env',
  588.    '/well-known/.env',
  589.    '/whturk/.env',
  590.    '/windows/tests/9.2.x/.env',
  591.    '/windows/tests/9.3.x/.env',
  592.    '/wp-content/.env',
  593.    '/www-data/.env',
  594.    '/www/.env',
  595.    '/xx-final/vue-heroes/.env',
  596.    '/zmusic-frontend/.env'
  597.    );
  598.     foreach ($list as $path) {
  599.         for($i = 0; $i < $path;$i++);
  600.             $web = $this->url.$path;
  601.             $stri = get_headers($web);
  602.          $cek =  $stri[0];
  603.             if(strpos($cek,"200")){
  604.                 echo hijau."[+] Found => $web\n";
  605.                 $found = "[+] URL : $web\n";
  606.                 $this->save($found,"result.txt");
  607.             }
  608.             else{
  609.                 echo merah."[-] Not Found => $web\n";
  610.             }
  611.          }
  612.      }
  613.    }
  614.     $ok = new Laravel_Mass();
  615.     if(!isset($argv[1])){
  616.         echo "USE : php mass-laravel.php list.txt";
  617.         exit(1);
  618.     }
  619.     else {
  620.         $link = $argv[1];
  621.     }
  622.     if(!file_exists($link)) die("File List ".$link." Not Found");
  623.     $site =  explode("\n", file_get_contents($link));
  624.     foreach ($site as $env) {
  625.          $ok->url = trim($env);
  626.          echo "\n[!] Site : ".$env."\n";
  627.          $ok->CeklaraveENV();
  628.         }
  629. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement