Change IP LocalHost xampp VM on OSX
how can I change my ip localhost to xampp VM on osx? example from 192.168.64.6 to 192.168.64.2
See also questions close to this topic
Detect the protobuf REST api with OWASP ZAP on iPhone
I want to test Network Communication with OWASP ZAP.
I could get the general RESTful command. But I can't get any protobuf RESTful result.
I have no idea what happen and how to setup the environment of OWASP ZAP for protobuf.
This is my environment I want to test.
My App(Real iPhone Device) <-> OWASP ZAP(Mac) <-> Our Server
Please help or try to give some ideas how to achieve this. Thanks!
ICS file not attaching when viewed in Mac Client (using Ical.net c#)
I have a strange issue with sending an ICS file using ical.NET and the built in MailMessage class(https://github.com/rianjs/ical.net).
In Outlook, Gmail and on iPhones everything works as expected when sending an email with the ICS file generated from the above library. I see the email message and an appointment (either found by Siri or shown as a normal appointment in Outlook / Gmail).
The ICS file passes the standard validator (I used this one https://icalendar.org/validator.html) however when the email is received on a Mac Client (I don't know the version of the OS, the client isn't tech savvy) I get the following:
- ICS file is only shown (even attached) when the email message is blank
- If there is ANY text in the email message, no ICS file is attached and no appointment shows
Has anyone had this experience before? Either with ical.NET or without. It's driving me insane and as I don't have a Mac to test on, is very difficult to diagnose.
Why trust list of keychain on mac also needs login password?
There are two mac applications. One application create a keychain item and set trust list. Another one to get that item. But, it's need login password, why? And, if I set "allow all applications to access this item", it's need login password too.
I want to be able to download software (e.g. drush ) into XAMPP-VM on mac, how do I do this?
I am unable to access internet on my local through the XAMPP-VM, this is causing trouble as it is not sufficient to download the software into my local and then move it into the mounted /opt/lammpp. Any suggestions?
Error I receive when trying to run
root@debian:~# sudo apt-get update && sudo apt-get upgradefrom the shell in the XAMPP-VM:
Err:1 http://httpredir.debian.org/debian stretch InRelease Temporary failure resolving 'httpredir.debian.org' Err:2 http://security.debian.org stretch/updates InRelease Temporary failure resolving 'security.debian.org' Reading package lists... Done W: Failed to fetch http://httpredir.debian.org/debian/dists/stretch/InRelease Temporary failure resolving 'httpredir.debian.org' W: Failed to fetch http://security.debian.org/dists/stretch/updates/InRelease Temporary failure resolving 'security.debian.org' W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
can't install Mcrypt PHP extension
Install mcrypt extension
sudo apt-get -y install gcc make autoconf libc-dev pkg-config sudo apt-get -y install libmcrypt-dev sudo pecl install mcrypt-1.0.1
this all step after last step
terminal output like this
creating libtool appending configuration tag "CXX" to libtool configure: creating ./config.status config.status: creating config.h running: make /bin/bash /tmp/pear/temp/pear-build-root6GKinz/mcrypt-1.0.1/libtool --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/tmp/pear/temp/mcrypt -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root6GKinz/mcrypt-1.0.1/include -I/tmp/pear/temp/pear-build-root6GKinz/mcrypt-1.0.1/main -I/tmp/pear/temp/mcrypt -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/mcrypt/mcrypt.c -o mcrypt.lo mkdir .libs cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/tmp/pear/temp/mcrypt -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root6GKinz/mcrypt-1.0.1/include -I/tmp/pear/temp/pear-build-root6GKinz/mcrypt-1.0.1/main -I/tmp/pear/temp/mcrypt -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/mcrypt/mcrypt.c -fPIC -DPIC -o .libs/mcrypt.o /tmp/pear/temp/mcrypt/mcrypt.c:25:17: fatal error: php.h: No such file or directory #include "php.h" ^ compilation terminated. Makefile:194: recipe for target 'mcrypt.lo' failed make: *** [mcrypt.lo] Error 1 ERROR: `make' failed