How to find subdomains of domain [duplicate] - subdomain

This question already has answers here:
Is it possible to find all DNS subdomains for a given domain name? [closed]
(5 answers)
Closed 3 years ago.
I want to get a List of All Sub-Domains of a Domain Name(public domain).
google.com has subdomains like images.google.com,maps.google.com. I want to find these through code or tool which I can invoke my Java code.
I already tried options like
https://github.com/TheRook/subbrute
https://github.com/guelfoweb/knock
But,They are not accurate.
Any other options available?

If this is an internal domain to your network it should be easy enough to query your own DNS server, given the appropriate permissions.
If this is a public domain, that will be a little harder - most likely required a brute force approach.
You may want to check out this Is it possible to find all DNS subdomains for a given domain name?

Related

Saving multiple pictures for a website that will work like an ecommerce [duplicate]

This question already has answers here:
Can I store images in MySQL [duplicate]
(4 answers)
Images in MySQL
(5 answers)
Closed 9 months ago.
I am developing a website that will work a little bit like ecommerce. It is a website where people will upload picture of items they want people to buy. My challenge is that when learning Mysql database storage, I learnt that mysql can store pictures but it is better to use it for only profile pictures. Storing large amount picture in mysql will slow it down. Please, what do i use to store these pictures and how? I have learned PHP, JSON and mysql
This question comes up regularly and the short answer is: it depends. It's a question of weighing up between an "all-in-db approach" and "which component can do what best". The bias seems to be towards "store in file system". It further depends on the average size of your images and your MySQL setup. Make sure to read up on the BLOB field type and object storage in general.
Storing images in MySQL
Storing image data in a MySQL database?
From your question I can't really tell where on your developer journey you are. But given your comment it might be helpful to point out that MySQL isn't a ready-made web-app in itself. MySQL can be one element in a solution stack (LAMP for example) and be the "database part". In a web-app where front-end code collects a user's uploaded data, your code can then store this user data into a back-end system like a database, which is MySQL, or into the file-system - that's on you as developer.

how to connect my react app on my computer to mysql database on godaddy [duplicate]

This question already has answers here:
Sending data to Database in React.js web application
(2 answers)
Closed 4 years ago.
I have a react.js app, made in visual studio code. its a very basic app that is just a 'login' or 'register' page. I want this react app to be connected to my existing database on godaddy, its a mysql database. I have a connection to the database from a previous website but that connection is written in php, i want to know if its possible to connect this using react.js. this is a social network, so the database already has users and information in it, so i want the react app to be connected to it, im trying to change from a php based website to a react based website.
You still need some server-side code available which will make the connection to the database.
You cannot make a connection to the database with JavaScript. (Even if you could, it would not be secure because you'd have to store the database credentials in the JS code, and of course anyone can click "View Source" and read them).
If you're building your UI in JavaScript then your server-side code (can still be PHP, or any other language your host supports) just needs to be an API which sends and receives data (probably in JSON format) rather than HTML. You may find you use AJAX requests a lot to send/receive data from the server, rather than full postbacks. This is quite a common architecture.

iOS Login Screen For External Sqlite Server [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Ok, so say I wanted to have a sign up form similar to the iOS apps of Facebook, Gmail, Dropbox etc. I don't mean I want to have the users be able to login using those services (although that would be nice) but I want to actually have something similar to a SQL server as the web service https://parse.com/ would use.
It seems like a great service and very easy to setup, but I would like to go the extra mile and take advantage of the servers I have available in the cloud to create my own custom version of the following. I understand that mySQL isn't very usable within the iOS development platform, however sqlite3 is. Say I've created my storyboard layout and I think I have an idea of what it is I would like to do. I just don't know what I need to do to achieve it! Essentially what would be ideal is to to create statistical models based on the combined data from all of the users.
Properties of the application:
I would like the users also to be able to go online and download the data they entered into the iOS app by importing it into excel. However it would be very important that I nor any other user could identify the source of the data. As most of my users are going to know of each other in real life. Think of the app as something to do with drag racing, and the users enter in there race results and information about their setup and then upload it to my server. It is very important that I cannot see which user the information derived from, but at the same time would like to access the data and retrieve a list of the users and their respective emails!
User Interface of application:
Here is a screenshot of what the storyboard ideally might look like. Nothing is linked together yet these are just the screens that I originally had in mind! I'm not asking for anyone to give me any serious help as I want to do it on my own, I just need the resources in order to do it myself. It seems as if there is nothing online that could explain how the website parse's framework was created!
STORYBOARD 1: i39.tinypic.com/fbz7n6.jpg
STORYBOARD 2: i41.tinypic.com/dewoau.jpg
How can I make a service similar to parse (JSON format) by using my own server in the cloud?
You can use MySQL on the server and SQLite on the client (preferably wrapped in Core Data) without any issue. The two shouldn't directly interact or have any knowledge of each other. Because the server will present an API for the client to use. And that API should divulge no information about the internal setup of the server.
For the API, think about a RESTful interface, probably implemented with JSON.
This caters for all of your uploading and downloading capability.
Your other things are built around this. You have good intentions for keeping the data anonymous - but that is a facet of what you send and how you structure the data storage in the server.
Finally, doing it yourself will be error prone and take a long time. Creating a Parse.com account and configuring the database will be relatively error free and will take very little time. What do you make money from? (hint: leveraging the work of others).

Unique ID for each chrome user? [duplicate]

This question already has answers here:
Getting unique ClientID from chrome extension?
(4 answers)
Closed 8 years ago.
Is there a unique ID for each Chrome User?
So that I on my extension, can save informations on my database, with each user have their own unqiue ID?
Does that exist somehow?
EDIT:
Or can I store informations locally on the users machine? This would make it possible to do the same as I want to do?
Im sure this answers your question. And for your update, Yes you can use localstorage to store info on the client computer. Hope this helps :)
Well to track how many installs of your extension, you can add the
Google Analytics ID to your extension in your management area for you
Chrome Extension Gallery. That will keep track of the installs and
updates. Google analytics even has tracking usage, so you can add
tracking information based on a specific metric (clicking, logging)
etc.
If you meant for each "user" tracking, no, extensions don't identify
each individual user, the only thing that is unique is the extension
itself with its extension id. You can have other means of identifying
a user uniquely through a third party service, such as OAuth, OpenID,
or some custom stuff. Then you can associate your authentication to
something locally
While identifying a user is not supported without the user actually logging into the app, you could track the install or machine. See this response of mine for details.
What is the best to identify machine/user in Google Chrome Extention?

Set site's /image folder to be protected [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have a website which uses many files inside of /images and other /folder directories that the HTML files use to display on the page.
What I'd like to do is protect the images so that a user can't go to the root (/images) in this case, and see a directory listing of all of the files in the folder.
I only want the website to display the photo.
I found a perfect example:
http://edge2.mobafire.com/images/champion/icon/tryndamere.png
The image is used by the HTML page and displays perfectly when directly accessing the image in the URL, but the following links are all protected:
Example 1: http://edge2.mobafire.com/images/champion/icon
Example 2: http://edge2.mobafire.com/images
Thanks!
That is typically a webserver configuration paramater. I believe you can achieve the same thing with .htaccess rules (which I do not know off the top of my head).
Knowing what kind of webserver your website runs on and also if you are running the server yourself, or if you are using a shared hosting account will be necessary to further answer the question.
Assuming you are cool, and you run your own server using Apache2 -- you would edit your virtual host (or httpd.conf if you do not use virtual hosts) and find the definition for your root directory like so:
example vhost configuration /etc/apache2/vhost/mywebsite.com.conf:
<Directory "/var/www/website.com/htdocs">
Options Indexes FollowSymLinks
</Directory>
The Option "Indexes" is what tells the webserver that it's OK to view all files within a directory that has no index file. To disable this functionality like you are asking you would remove the word "Indexes" or prepend a hyphen (-) in front of the work Indexes.
If you do not use apache or have root access to your server -- good keywords for you to ask your hosting provider is "How do I disable indexing in folders that have no index file" or similar.
Drop a blank index.html file in the folder.