Created
November 20, 2015 17:21
-
-
Save mayurah/027ae93444e58578f91e to your computer and use it in GitHub Desktop.
cpanel-whm-mass-ip-change
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Change cPanel/WHM Mass IP via Chrome Developer Console */ | |
var script = document.createElement('script');script.src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js";document.getElementsByTagName('head')[0].appendChild(script); | |
$.fn.jquery; | |
$("select[name^='customip']").each(function() { | |
/*console.log( this.value + this.name );*/ | |
/* $(this).find('option:selected').text(); */ | |
/* console.log($(this).children('option:selected').text()); */ | |
$(this).children('option:selected').val("x.x.x.x"); | |
}); | |
PS: replace x.x.x.x with <new-ip> | |
Common Errors# | |
Setting up for ip change..... Done | |
Sorry, x.x.x.x is in use by another domain name and is not a shared ip. | |
Changing ip for example.com (example) to x.x.x.x | |
allyourcheats |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment