How to modify binaries in Cisco AnyConnect installer? - configure

I need to modify Cisco AnyyConnect Binaries. I had add for example calc.exe via ASDM.
Then I press "Apply" and "Save".
Now, when I download AnyConnect installer from the ASA web portal I got the same installer as was before. No changes. There is no calc.exe.
P.S.
Had use this article - enter link description here

It download and replace local files after successfully connection (Client to ASA).

Related

How can I bypass this message when starting the .exe with cmd?

i got following cmd command, i want to start an .exe installer with this, but when i execute it the message after it pops up.
START "DSM-Agent setup..." /WAIT /D %PATH% InstallClient.exe
The Message:
I already tried adding domains or something to the registry but nothing worked.
This is in an automation script, so the message is very deal breaking.
I hope someone can help me.
Additional Info:
The script should run on Windows Server OS
The exe is on another server
Are you running it from a network location?
This is the reason for the message.
The network share is not trusted by your computer, so it warns you.
You need to add the network server to your trusted servers:
In Internet Explorer:
Internet Options → Security tab
Local Intranet → Sites
Check Automatically detect intranet network
Advanced → Add this website to the zone:
Enter → file://path → OK
** You need to restart explorer.exe for the changes to take effect

How to install unpacked extension in firefox & chrome?

i have created extension by using crossrider they gave me xpi & crx file which i extracted and want to install manually by copying data to the browser's extension path.
I've read & tried many posts regarding this but they are not helpful because i think some posts are old & not able to find target paths & registry.
like in many posts they say create the following key in the registry here
32-bit Windows: HKEY_LOCAL_MACHINE\Software\Google\Chrome\Extensions
but i couldn't find that on my windows registry & i am using 32bit.
i want something like i copy my extension data to the browser's extension directory & inject some registry value thats all. if it possible then How?
For firefox just add the xpi or unpacked folder to the profile folder. No need for registry so its cross platform.
It can't be automatic as spyware would be all over that. After placing xpi in the extensions folder of the profile, on next startup of Firefox it will prompt saying it found an unauthorized by user add-on, and gives user a chance to enable it, or keep it disabled.
If you want to do it without startup, just launch the file path to the xpi or unpacked folder (if unpacked folder doesnt work, then point it to the install.rdf) in the browser, user will be prompted if they want to install.
There are some registry options though: Install Firefox extension using Windows registry
In Chrome, it's no longer possible to add an extension programmatically on Windows unless the extension is actually published in the Store.
This is for security reasons: previous registry-based (and otherwise) methods were open to malware abuse.
If your extension is published in the store, you can add it semi-automatically via registry. The user will still be asked whether to enable it on the next load.
You can also install extensions silently using Enterprise policy (only if the machine is part of a Windows domain and you have admin rights on the domain policy), on other OSes, or load it unpacked for testing with the --load-extension command line switch (will not persist after Chrome is restarted).
In Chrome go to
chrome://extensions
Enable Developer Mode at the top and click on the button to load an extracted extension.

smb (windows share links) open protocol change

Is it possible to instruct my windows 8.1 machine to open links like these:
smb://c:\path to some folder\
in windows explorer?
Right now, Internet Explorer automatically comes up in response to a request to open smb:// link and says No apps are installed for this type of link (smb) - [Look for an app in the Store]
(The reason I have this problem is because I use mediawiki on my machine and have links to folders and files on some pages. I'd like to be able to click them from any computer on my network and be able to see the file/folder right away).
Many thanks.
Suppose you have a link like:
smb://a.b.com/public/
In windows you can open that in the file explorer this way:
\\a.b.com\public\

Using Orca to modify a Cisco Anyconnect MSI installer file

I am currently in the process of installing Cisco anyconnect on several windows machines. I would like to make this installation as "hands off" as possible for the end users. I have the msi file to install anyconnect only, with no features such as host scan, telemetry, etc. enabled. What I would like to accomplish is to remove some of the setting check boxes or have them correctly set so that the user does not have to do anything except for install, click yes, and accept the license agreement. Is this possible using Orca to modify the MSI file? There are only 3 features you can change in the settings menu of Anyconnect. The checkboxes are as follows:
Enable automatic certificate selection
Allow (LAN) access when using VPN (if configured)
Block connections to untrusted servers
Orca can edit MSI's. It can also create transforms. The checkboxes have properties that likely can be passed at the command line:
msiexec /I foo.msi ALLOWLANACCESWHENUSINGVPN=1
or if you create a transform that sets ALLOWLANACCESSWHENSUINGVPN=1 you could say:
msiexec /I foo.msi TRANSFORMS=mytransform.mst
The name of the property and whether it can be passed at the command line depends on how the installer was created.

Customizable Windows right-click file uploader?

I'm looking for a "right-click upload" application like RightLoad - an application that can upload media files to a remote FTP server from the Windows Explorer's context menu. I want to customize the application to serve as a customized image uploading tool to a PHP-based CMS.
The user would upload images and other media files to a defined FTP account (I'm also very open for other methods of transport, as long as they are supported by run-off-the-mill web hosting stacks) that they could then use in the CMS they log in to.
For me to be able to do these customizations, the application would have to be Open Source - RightLoad is "only" Freeware. Alternatively, I'm open for closed-source and commercial suggestions as long as they allow "pre-packaged" server settings that can easily be deployed to the user.
Does anybody know such a tool compatible with at least the most current versions of Windows (XP, Vista, 7)?
Bounty
Thanks all for the great input. In the case at hand, I decided it's easiest for me to stick with RightLoad and create a workflow in which the URL presented by RightLoad after the upload is copy+pasted into the CMS. I am putting a bounty on this because I think it's a worthy question for future generations, and I want to be the first one to put up a 500 bounty under the new bounty system :)
You could just use the send to menu using window's My network Places like this http://techie-buzz.com/how-to/right-click-and-send-to-ftp.html
I think WinSCP might have everything you want:
Open Source under GNU GPL
Windows Explorer's 'Send To' Context Menu
Drag 'n Drop Shell Extension
lots of additional features
and it can be scripted and is more secure than FTP due to using SSH
If you insist on open source, why not create a custom context menu handler and send it using some open source FTP client?
I would have to check the details, if it's really viable, but I would start with it.
I just had an idea, tested and working:
use regedit to edit HKEY_CLASSES_ROOT/*/Shell
add a key in shell called FTP to Mysite, in the default value set it to FTP to Mysite.
then add a key to the FTP key you just created called command, in the command default value use:
C:\Program Files (x86)\Internet Explorer\iexplore.exe http://www.mysite.com?file=%1
what this will do is open IE and the address www.mysite.com?file=C:\path\to\file.jpg
now using $_GET you can get the file address, upload it via php to where ever, even add an interface...
now when the user right clicks on any file, they can upload it via your web site by clicking FTP
1) another software is RightLoad , i use it that this moment!
2) The nice software I used over years, was FLING. It adds Right Click menu in windows explorer... However, I have left the software, because till today (version 2.35) fling DOESNT support SFTP (And nowadays on all sites I use SFTP!!)
3) I DONT like SEND-TO menu! (because I think passwords saved in WINDOWS can be easily stolen by virus..)

Resources