Jump to content

Appzmaster

Members
  • Posts

    31
  • Joined

  • Last visited

    Never

Everything posted by Appzmaster

  1. Back again... well I have had this script laying around and I finally made use of it it's nothing big just a way of creating email accounts in cpanel with a php script. It can do alot more actually create ftp accounts even start your own subdomain based web hosting or addon domain but back to the email stuff I just need some one to bang away at it to see if they can find any exploits and what not thanks in advance. http://officialmc.com/email/index1.html
  2. what is bad about user enumeration? I just use that so when people create an hosting account with me they can access their site before their domain gets working.
  3. yea i noticed that i have been looking into correcting that i figure ill just tell it to read the host name and the tld and ignore all else in front of those 2 things but thanks =) im planing on starting a DNS tools site so will be more to come =)
  4. Just a small thing I came up with to list dns records and what not. http://hosting-needs.com/testscripts/mxtest2.php feel free to comment on it.
  5. I came up with a new attempt $result = dns_get_record("$host", DNS_ALL); //print_r($result); print_r("<hr>"); for($result_list=0; $result_list < count($result); $result_list++){ $current_line = $result[$result_list]; print "Host: $current_line[host], IP: $current_line[ip], Class: $current_line[class], TTL: $current_line[ttl] And so on...<br>\n"; }
  6. Ive been working on a bunch of different scripts hopefully to make my own dnsstuff.com like tools site I used this same idea for my back end to a script that moves files from my production server to a off site FTP server i have as backups and it worked fine my other script connects to a ftp server lists the contents then disconnects was all fine and dandy but the output looked like crap all smushed together in multiple arrays so i did $contents = ftp_nlist($conn_id, "$dir"); foreach($contents as $a) { echo "$a <br />"; That works great it neatened it all up and i used the <br> to list all the files directories etc on a different line For my MX /DNS lookup script its the same idea -Original Code to get the ugly multiple arrays $result = dns_get_record("$host", DNS_ALL); print_r($result); My idea to list them all on separate lines $result = dns_get_record("$host", DNS_ALL); //print_r($result); foreach($result as $a) { } foreach($a as $b) { echo "$b <br />"; } It just prints a bunch of lines saying Array the line Array is how i want it to be formated but it doesn't show the information If any one could help point me in the right direction id really appreciate it =) if you need to see my whole code just let me know ill post it.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.