How to take input from file

Viewed 38

I am currently running a script which tries to find /phpinfo.php within all IP range i.e 98.136.0.0 – 98.139.255.255

#!/bin/bash
for ipa in 98.13{6..9}.{0..255}.{0..255}; do wget -t 1 -T 5 http://${ipa}/phpinfo.php; done &

I am now looking for multiple files i.e to take input from file.

/abc.php /xyz.php

Is there way I can take input from file and run this script?

0 Answers
Related