dtwood01
-
Posts
9 -
Joined
-
Last visited
Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Posts posted by dtwood01
-
-
Good to know, here is a screenshot of other directories inside public_html/forum.
-
Hey all, very recently we received a notification from our WHM that there were two file paths to ipb_converge.php files that were flagged as malware utilizing SQL injection. Taking a look at both of these files, they are both identical, and all lines of code seem to be very well documented. They also have not been touched or modified since 2012, so we're wondering if they're in the right place or even necessary. It also seems odd that one of them resides within a css folder structure.
Happy to provide any additional information, just seems odd that they're being flagged just now.Paths to files, just to know if they are actually in the proper place:
public_html/forum/public/min/ipb_converge.php
public_html/forum/public/style_css/ipb_converge.php -
I'm receiving the following in my response. My community url is correct, is that not the right path for /core/members?
Not Found
The requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
-
Thank you for the response. I'm receiving no curl errors with the below.
<?php $communityUrl = 'http://poolspaforum.com/forum/api'; $apiKey = 'mtapikey'; $curl = curl_init( $communityUrl . '/core/members' ); curl_setopt_array( $curl, array( CURLOPT_RETURNTRANSFER => TRUE, CURLOPT_HTTPAUTH => CURLAUTH_BASIC, CURLOPT_USERPWD => "{$apiKey}:" )); if(curl_exec($curl) === false){ echo 'Curl error: ' . curl_error($curl); }else{ echo 'Operation completed without any errors'; } $response = curl_exec( $curl ); ?> <h1>Hi</h1> <p><?php echo $response; ?></p>
-
Just want to bump this. I'm still having issues and not sure where I'm going wrong. I'm following the instructions found here:
https://invisioncommunity.com/developers/rest-api -
I'm attempting to make a basic call to the api using the example code found in the documentation, and I'm not seeing anything resulting in the php echo. Can someone point me in the right direction? I have a basic grasp of php. I also am sure that the api key has access to api/core/hello as set in the AdminCP.
<?php $communityUrl = 'https://www.poolspaforum.com/forum/'; $apiKey = 'myapikey'; $curl = curl_init( $communityUrl . 'api/core/hello' ); curl_setopt_array( $curl, array( CURLOPT_RETURNTRANSFER => TRUE, CURLOPT_HTTPAUTH => CURLAUTH_BASIC, CURLOPT_USERPWD => "{$apiKey}:" ) ); $response = curl_exec( $curl ); echo $response; ?> <h1>Hi</h1>
ipb_converge.php throwing flag on malware scan
in Technical Problems
Posted
Great, thank you! We've got backups for sure. We'll put old items into an archive directory before completely deleting to make sure everything is working properly.