How can I change Metasploit module source, I want to change some URL in an exploit.
I have tried the edit command and successfully edited this line to what I want, but changes are not reflected, the exploit has the same behavior as before, it looks like I haven't changed anything, but when I to try edit it again, I see my changes!
Does Metasploit save this anywhere else?
Just reload your module with reload right after you finished with edit
Do u want to edit the Metasploit framework or just one of the exploits?
If u just want to edit an exploit,find the location, edit it ,and reload all the modules by the command "reload_all".
Related
i haven't had this problem using slim or anything else before.
When I do a change in my IDE, and then reload the page, the change is not always instantly visible. That is, i have to wait a couple seconds, then try again.
How comes? is there a way i get force this process quicker?
I am not sure but maybe it's this:
in intellij-idea there is an option "preserve timestamp" in settings - deployment - options. Maybe that fools laravel into thinking the files didn't actually change
I've installed the TYPO3 from scratch on an empty DB.
Everything worked fine until I reached the point where you have to create your first Backend user.
Well, I filled in the form and clicked "continue". Then, the page reloaded and nothing happened. Checking the DB showed me that the Backend user has been created, so I left the Install Tool and accessed the Backend via "domain.com/typo3". Logging in worked fine, as well.
But now, when I try to access the Install Tool in the BE (via the tab on the sidebar), it still wants me to create my first BE user. The installation process stays permanently on 80%.
I'm looking for a method to trick T3 to think that the installation process is finished, because it actually is.
The only thing I did differently than usually was to click on "Continue, I know what I'm doing" in the first step. T3 complained about the always_populate_raw_post_data=-1 and I created a php.ini in the root directory to fix that and continued without checking because I thought it'd fix the problem.
Thanks!
You can check this setting in your LocalConfiguration.php:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['isInitialInstallationInProgress']
You have to set it to false.
When one googles something like this it pops out that one needs to change either JDEV_USER_DIR or set ide.user.dir parameter in Oracle_Home\jdeveloper\ide\bin\ide.boot file, but this is explicitly wrong. Changing ide.user.dir parameter relocates files where JDeveloper saves its parameters, not default folder for my projects. So, can someone give me the correct answer how do I replace the default folder for my projects (that is after installing JDeveloper)?
jdeveloper.exe -J-Dide.user.dir=C:\myWork
The first step in the wizard for application creation lets you choose where to place the application. I believe that after you set this for one application the next ones will follow along to the same directory by default.
According to the first link I found, http://www.catgovind.com/jdeveloper/where-is-jdeveloper-user-home-directory-in-windows/ and the explanation on https://tompeez.wordpress.com/2011/08/13/how-to-find-and-reset-the-system11-x-x-x-folder-for-a-jdeveloper-installation/ the way to set the working directory is to set the environment variable JDEV_USER_HOME. I set it to the value: %USERPROFILE%\Documents\JDeveloper
The proper answer here: https://agungor.wordpress.com/2012/12/06/how-to-change-default-open-application-folder-of-jdeveloper/
Just navigate to C:\Users....\AppData\Roaming\JDeveloper\system11.1.1.6.38.62.29\o.jdeveloper\applications.xml and change workDirectory attribute
I am trying to edit the settings for an installed package for Sublime Text.
Background:
Installed Laravel 4 Artisan package via Package Control: Install Package.
Trying to run Artisan commands returns an error message:
Laravel requires the Mcrypt PHP extension.
Via terminal, artisan works fine. This leads me to believe that the PHP version used by Laravel 4 Artisan in Sublime Text is different from the version set up in my .bash_profile.
In the terminal, which php returns /Applications/MAMP/bin/php/php5.4.10/bin/php
In Sublime Text, Package Settings > Laravel 4 Artisan > Settings - Default points to:
{
"php_path": "php"
}
These settings seem to be read-only. I cannot even change the text, let alone save it with the new PHP location.
Any ideas or am I missing something simple?
problem solved. The problem is me being a Sublime Text noob.
Solution for those of you who don't know:
Sublime text packages appear to have various settings modes. A default mode and a user mode.
If you copy the contents of default mode over to user mode, then edit user mode. Then I believe that the settings in user will extend / override the settings in the default mode.
From what I can see, you cannot edit the settings in default.
So instead of { "php_path": "php" }, user settings should be something like the following depending on your php setup.
{
"php_path": "/Applications/MAMP/bin/php/php5.4.10/bin/php"
}
Happy to see you solved your problem. I'll clarify a bit to help anyone else who comes across this. You are correct in the fact that the settings are merged. The load order determines how these files are merged. The User folder is always last. So whatever you specify there will always be taken over that of previous configurations.
Depending on how you installed your plugin, the "Default" settings that came with the plugin may be overwritten. So you don't want to make any changes there that you hope to persist, so placing them in the User folder is the correct thing to do. As an additional note, you don't have to copy the entire contents of the "default" settings. Rather, you only need to specify the settings you want to override. Things will be merged appropriately.
One last thing, I don't believe ST2 makes the default settings read only. I do know ST3 does (well based on where it is installed). Be sure to post questions with the correct tag (sublimetext3 in this case). Was to long for a comment, but I hope this helps clarify things for you.
Also in case anyone is still struggling after doing this, remember to restart SublimeText to enable.
Basically, I created a Visual Studio Installer project. I added a primary output to my project, which was great because it loaded in the dependencies and files automatically for me. The problem I'm facing is that I want to be able to mark my config file as a hidden file, but can't seem to figure out how.
When I go to View>File System it lists:
MyExternalAssembly.dll
Primary output from MyProject (Active)
So, is there a way to actually mark my config file as hidden during installation if I add a primary output project instead of the individual files?
I'm not sure if you really want to make it hidden. If you're worried about users looking at it, a more than average user will know how to un-hide things and pilfer around. So, that being said, if you want to keep users from seeing what's in the config you will need to encrypt the config. A good example of that can be found here:
http://www.davidhayden.com/blog/dave/archive/2005/11/17/2572.aspx
If you still want to hide the config, then you could try hiding it once the application is run for the first time.
Using: ApplicationDeployment.IsNetworkDeployed && ApplicationDeployment.CurrentDeployment.IsFirstRun with a click once application you can tell if this is the first time an application is run.
You could then use File.SetAttributes(path, File.GetAttributes(path) | FileAttributes.Hidden); to actually hide the app.config.
Which would result in:
if (ApplicationDeployment.IsNetworkDeployed && ApplicationDeployment.CurrentDeployment.IsFirstRun)
{
File.SetAttributes(path, File.GetAttributes(path) | FileAttributes.Hidden);
}