TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

MySQL server has access to client-side filesystem

11 pointsby ttaover 6 years ago

2 comments

grumpydbaover 6 years ago
Similarly postgresql has access to the host shell:<p>COPY weather_json FROM PROGRAM &#x27;curl <a href="https:&#x2F;&#x2F;api.openweathermap.org&#x2F;data&#x2F;2.5&#x2F;weather?q=Tokyo&#x27;;" rel="nofollow">https:&#x2F;&#x2F;api.openweathermap.org&#x2F;data&#x2F;2.5&#x2F;weather?q=Tokyo&#x27;;</a> COPY 1<p>They both absolutely have to run under selinux.
评论 #18953196 未加载
评论 #18954713 未加载
rando444over 6 years ago
I&#x27;m pretty sure all databases have access to the filesystem.
评论 #18953175 未加载