Directory traversal attack on SpringBoot
◷
تاریخ انتشار: 1395/4/6 | ساعت: 7:46
Vote count: 0 i'm currently working on a project, and my client has established a vulnerability scan on my application with acunetix tool and it's has given him an alert about Directory traversal attack. The vulnerability was detected on my static folder that contains all the js/css/images folders, ...
How to Repaint When Drawing Outside the Form Area
◷
تاریخ انتشار: 1395/4/6 | ساعت: 7:46
Vote count: 0 I am writing an application that needs to draw outside of it's main window area. I already have to code to actually do the drawing: [DllImport("User32.dll")] public static exte IntPtr GetDC(IntPtr hwnd); [DllImport("User32.dll")] public static exte void ReleaseDC(IntPtr hwnd, IntPtr dc...
Error displaying content of RecyclerView (loads blank screen)
◷
تاریخ انتشار: 1395/4/6 | ساعت: 7:46
Vote count: 0 I'm very new to Android development but I am trying to build a simple app with a RecyclerView. I've followed instructions from a few different tutorials but whenever I launch the app, all I get is an empty white screen. Any ideas on where I might be going wrong? Am I missing some code?...
CL_INVALID_KERNEL_ARGS error with image jocl
◷
تاریخ انتشار: 1395/4/6 | ساعت: 5:48
Vote count: 0 My goal is to write a code that takes an image (image) as entry variable and does an analysis and puts the result in an array (tab1) using java and jocl , as a begi ing I wanted to see if the image is accepted so I wrote this program bellow and the ke el "basic" My class public class O...
WordPress: my link not open from twitter in moble
◷
تاریخ انتشار: 1395/4/6 | ساعت: 5:48
Vote count: 0 I have problem when any user open my site from twitter account in moblie, when click to any link, Its open into new windows but show him white page. But when open any link from desktop, Its open and show my site, Where are problem ?? asked 39 secs agoKotsh Social Let's block ads! (Why?...
Phantom Omni and Occulus in Unity Chai3D
◷
تاریخ انتشار: 1395/4/6 | ساعت: 5:48
Vote count: 0 I have implemented Phantom omni and occulus 3D with the unity using unity's haptic plugin. What I want to do is to register real and virtual world using transformations. How can I do it using transformation matrices .. asked 39 secs agoZain Let's block ads! (Why?)
Python api design using factory and builder pattern
◷
تاریخ انتشار: 1395/4/6 | ساعت: 4:20
Vote count: -1 I am new to python and I have to design a Python API(version - 2.7) similar to an existing Java API Python version - 2.7 The Java API is as follows There is a Process interface public interface Process<T> { Future<T> create(Client<T> client) } There are two implementations of Process ...
Update control text while process is running
◷
تاریخ انتشار: 1395/4/6 | ساعت: 4:20
Vote count: 0 I am trying to change the button text while process runs, and then change text after finishing. The following code does not work; I'm assuming due to it possibly ru ing synchronously. Is this achievable? Protected Sub btnUpdate_Click(sender As Object, e As EventArgs) btnUpdate.Text = "...
What specifically allows app attribution to dispaly on Facebook posts from iOS apps?
◷
تاریخ انتشار: 1395/4/6 | ساعت: 4:19
Vote count: 0 I'm trying to get the app attribution (app name) to display on all posts to Facebook from my app using the following code: -(void)shareToFacebook { if( [m_selectedPhotos count] > 0 ) { NSMutableArray *photos = [NSMutableArray array]; for( int i = 0; i < [m_selectedPhotos count]; i++ ) ...
google not recognizing my api key
◷
تاریخ انتشار: 1395/4/6 | ساعت: 3:18
Vote count: -1 I have created a google developers account. I have created a project in there. I have enabled the javascript maps api for the project, and I have created a browser key for it, and I have limited the usage of it to the domain of my web site that people will be viewing. When I go to do ...
C++ server to serve local web files (html/css/javascript) using http
◷
تاریخ انتشار: 1395/4/6 | ساعت: 3:18
Vote count: 0 I'm writing a C++ desktop application with An embedded webview to show the UI written in html/css/js. A C++ backend to handle all logic and core operations. In order to show the web UI in the embedded webview without problems, I need to server those files from a local directory that wi...
Tomcat 8 Virtual Hosts - configuration works in previous versions
◷
تاریخ انتشار: 1395/4/6 | ساعت: 3:18
Vote count: 0 on prod environment I have few web applications hosted on diferent virtual hosts. It worked in few versions of Tomcat (7) but when i did upgrade to version 8 i just ca ot use this config: <Host name="subdomain.domain.com" appBase="webapps/sites123"> <Context path="" cookies="false" doc...
Why did Go force maps to be unordered?
◷
تاریخ انتشار: 1395/4/6 | ساعت: 2:16
Vote count: 0 In Go, maps (called hashes, dictionaries, or associative arrays in other languages) are "unordered". This means that looping over a map should give each key/value pair in the map one-by-one randomly. "When iterating over a map with a range loop, the iteration order is not specified and...
Graph databases for sensor data - How to model the relationship?
◷
تاریخ انتشار: 1395/4/6 | ساعت: 2:16
Vote count: 0 I am currently evaluating possible NoSQL technologies for my usecase. I have a lot of sensor data logs (several TBs) and want to analyze the data in a scalable, efficient way. My sensor data contains a timestamp, Location, and a List of Sensor attribute name (for example "temperature")...
how to insert multiple cloned rows into database using mysql
◷
تاریخ انتشار: 1395/4/6 | ساعت: 2:16
Vote count: 0 I have this form , i perosonal details will be inserted into personal table then book details into book table. book details has 1 original and 4 cloned rows. i want to insert all them at once into database. Earlier i had used php mysqli_real_escape_string which was working perfectly wi...
How to add combined columns in linq where clause?
◷
تاریخ انتشار: 1395/4/6 | ساعت: 1:08
Vote count: 0 My query is like this: var list = context.Items.Where(i => i.Title.StartsWith(searchValue) || (i.Title + string.format("{0}prep")).StartsWith(searchValue)).ToList(); But I am gettings exception - object not set to the instance of the object.I also tried to add .AsEnumerable after .Wher...
How to Check and Confirm Web element is not available in the webpage?
◷
تاریخ انتشار: 1395/4/6 | ساعت: 1:08
Vote count: 0 Consider I'm having one action button and this action button will give any of 2 results based on the input Condition. If the Invalid data is provided, then some validation error will be thrown in message table and If valid data is provided, then message table will not be exist and it w...
Set console background color in node.js
◷
تاریخ انتشار: 1395/4/6 | ساعت: 1:08
Vote count: 0 I'm re-coding a c# program in node.js but I don't found a func to set the background color in node.js docs. Like this green bg (c#) Sorry for my bad english, I'm brazilian asked 21 secs agolai0n Let's block ads! (Why?)
How to get rgb color from 1 pixel from a bitmap
◷
تاریخ انتشار: 1395/4/5 | ساعت: 22:13
Vote count: 0 Before jumping straight to the duplicate button, please read this! So I have been searched now for 5 hours and still didn't figure it out how to get the rgb color from 1, yes, only 1 pixel of a bitmap. The bitmap in my situation is a circle that first rotates and then my program should...
Tomcat can't start normally
◷
تاریخ انتشار: 1395/4/5 | ساعت: 22:13
Vote count: 0 Can someone help me solve the problem? When I try to start tomcat by startup.bat or tomcat8.exe , tomcat can't start.But it can work in Eclipse. Error log is as below: 25-Jun-2016 22:21:17.573 SEVERE [main] org.apache.catalina.startup.Catalina.start The required Server component failed...