GithubHelp home page GithubHelp logo

rets-md's People

Contributors

troydavisson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rets-md's Issues

RETS-MD – Multiple Cross-Site Scripting (XSS)

Product: RETS-MD
Download: https://github.com/troydavisson/RETS-MD
Vunlerable Version: latest version
Tested Version: latest version
Author: ADLab of Venustech

Advisory Details:
Multiple Cross-Site Scripting (XSS) were discovered in“RETS-MD latest version”, which can be exploited to execute arbitrary code.
The vulnerabilities exist due to insufficient filtration of user-supplied data in multiple HTTP GET parameters passed to the “RETS-MD-master/index.php” URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable website.
The exploitation examples below use the "alert()" JavaScript function to see a pop-up messagebox:
Poc:
(1)
http://localhost/.../RETS-MD-master/index.php?username=%27%20/%3E%3Cscript%3Ealert(1);%3C/script%3E%3Ca%20id=%27test
(2)
http://localhost/.../RETS-MD-master/index.php?login_url=%27%20/%3E%3Cscript%3Ealert(1);%3C/script%3E%3Ca%20id=%27test
(3)
http://localhost/.../RETS-MD-master/index.php?password=%27%20/%3E%3Cscript%3Ealert(1);%3C/script%3E%3Ca%20id=%27test

Execute queries

It would be useful to be able to do queries to the server while using RETS-MD.

I usually write a separate script to test queries but would be nice to be able to fire up RETS-MD and do some quick tests.

Included version of phrets is outdated

Thanks for RETS-MD and PHRETS. Just noticed that some newer servers using SSL weren't working on our local RETSMD install, but they told us that updating PHRETS to the newest version should fix the issue. BTW we are running our own fork of retsmd, you might find it interesting. Or not. Anyway, thanks!

BAREIS MLS Connecation issue

Hello @troydavisson ,
This is a great library for getting MLS Server resource data.
I was facing some issue to connect BARIES MLS Server to this system can you please help me. i passed Server url, Username, Password, User-agent, and version but it's all-time show me invalid RETS-Version Error show in the screenshot.
first
second

We have face this 2 Error

Notice: Undefined index: in phrets.php on line 1711

  ```

$rets = new phRETS;

$rets->AddHeader("Accept", "*/*");
$rets->AddHeader("RETS-Version", "RETS/{$_REQUEST['rets_version']}");
$rets->AddHeader("User-Agent", $_REQUEST['user_agent']);

$rets->SetParam("cookie_file", $GLOBALS['cookie_file_name']);

if ($_REQUEST['force_basic'] == "true") {
	 $rets->SetParam("force_basic_authentication", true);
}

Notice: Undefined index: cookie_file_name in functions.php on line 30

Running RETS-MD on Hosting Site

Hello

I'm trying to install RET-MD on my own hosting site but I keep getting the following error returned:

RETS M.D.
Error
There was an issue communicating with the RETS server:

HTTP (0)

thanks

Brian

Connecting to RETS through Fiddler/Postman

HI Davisson,

I am trying to connect to RETs server using postman/fiddler.
All works well with https://retsmd.com/, however, it is never successful from fiddler or postman.
I have a website for my client which is written in .Net and java services. I want to call MLS DB to get data from .net/java class.

How can I do this?
I have below details from my MLS provider.

Login URL: https://rets2.gsmls.com/rets_idx/login.do
UserName: ######
Password: ######
User-Agent: ########
User-Agent Password: ####

I suspect I am not passing the right header values. I always get below error from postman/fiddler

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.