Computer misuse involves making viruses, hacking, stealing other's data, creating fake websites and internet fraud
Questions tagged [misuse]
16 questions
4
votes
1 answer
Verify payment is actually completed using UPI (GooglePay specifically)
This is pertaining to the UPI Payment system in India.
I am using the sample code at https://developers.google.com/pay/india/api/android/in-app-payments to initiate Google Pay App to make UPI Payment.
And everything is working fine.
My concern…

Manish Dalal
- 1,768
- 1
- 10
- 14
3
votes
12 answers
Is there a Using pattern that does not rely on IDisposable?
I am wanting to create an internal messaging system that can tell me the duration of some code being called. I was thinking for ease of use, to make the SystemMessage class implement IDisposable.
I would set a time stamp during the…

Keith Sirmons
- 8,271
- 15
- 52
- 75
3
votes
2 answers
How and where to define angular $http defaults?
I am trying to set the defaults values of $http on an angular application so I have:
var application = angular.module('Application', ['ngDialog', 'validation']).config(function ($http) {
$http.defaults.headers.post["Content-Type"] =…

Miguel Moura
- 36,732
- 85
- 259
- 481
1
vote
5 answers
Prevent misuse of structures designed solely for transport
I work on a product which has multiple components, most of them are written in C++ but one is written in C. We often have scenarios where a piece of information flows through each of the components via IPC.
We define these messages using structs so…

fortytwo
- 11
- 2
1
vote
2 answers
How to prevent someone misusing routing systems?
I'm using a routing system. You can use the url to do some quick updates etc, without having to create a page for it. I believe this to be very effective. Though, how can I prevent a user misusing it?
This line updates a users…
user7619335
1
vote
2 answers
Concerns regarding potential Regex misuse?
I have the following regex: ^[a-zA-Z](.*)[a-zA-Z]$ on both the Javascript and PHP side that I have been using for validating a person's name and message fields on a contact form (no database interaction). It basically ensures that the first and…

Shalan
- 943
- 4
- 20
- 43
1
vote
0 answers
Is it possible for an attacker to maliciously modify iOS keychain data?
I am storing secure data in the keychain that should be maintained only within my app. During app running this data is retrieved to some variable. It seems like it is possible to crack my app in order to read that value or even dump the whole…

Azat
- 6,745
- 5
- 31
- 48
1
vote
1 answer
Sqlite aggregate max(sum()) error in android
I am trying execute below query but I get misuse of aggregate function sum()
Query
select max(sum(entry.amount)),category.name from entry,category where entry.amount<0 and entry.cid=category.cid group by category.name
LogCat…

Brother
- 39
- 1
- 2
- 8
1
vote
7 answers
build an array in C#
I cannot get this code to work for me:
List campaigns = new List();
for(int i = 0; i < C; i++){
campaigns.Add(new String[]{
weekYear = something[i],
campaign = info[i],
totalBids = Total1[i],
…

Levi
- 661
- 7
- 26
0
votes
2 answers
Building a case to migrate away from the use of tools or technologies in ways they were never intended to be used
I've seen some pretty strange use of technology.
For example, one place I worked was using Microsoft Message Queuing to send real time streaming VoIP data between servers.
I work as a consultant and many times the person responsible for these…

TWA
- 12,756
- 13
- 56
- 92
0
votes
1 answer
Sqlite thread modes and sqlite misuse paradox
I have a project where i should use multiple tables to avoid keeping dublicated data in my sqlite file(Even though i knew usage of several tables was nightmare).
In my application i am reading data from one table in some method and inserting data…

karaca
- 5
- 5
0
votes
1 answer
How can I use the same name for a column in the output of my sqlite query as a value I am comparing to in the join's ON clause?
My original question
When I execute the following query in SQLite, I get this error:
Query Error: misuse of aggregate: sum() Unable to execute statement
When I change the name of the "Loan" column to something like loan_amount the error goes away…

jakeonrails
- 1,885
- 15
- 37
0
votes
2 answers
Using Optional to prevent NullPointers In TrainWrecks
I was just wondering if the following is the wrong use case for Optional. It probably is, because it looks nasty.
(It is regarding calling "Legacy" code that returns nulls.)
private static class Person {
private Address address;
private…

Maarten van Leunen
- 432
- 2
- 10
0
votes
1 answer
apache virtual host accesed as other domain - how to stop it?
I have few virtual hosts on my server (say \*.mydomain.com), but I got lots of "spam/hack requests" for some totally other domain, like xchecker.net
91.122.59.90 - - [2019-09-06 18:09:35] "POST http://fdc.xchecker.net/proxy2017/http/engine16.php…

gilhad
- 609
- 1
- 5
- 22
0
votes
0 answers
MVVM: raising exceptions from business layer to presentation to request display
At our company, the lead architect for the MVVM-based point of sale system we're developing, in C#, .NET 3.5, has chosen for the following as the best possible solution for our needs:
1) All peripherals are to be placed in the presentation layer,…